1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
#[doc = "Reader of register EFUSE_RD_REPEAT_ERR0"] pub type R = crate::R<u32, super::EFUSE_RD_REPEAT_ERR0>; #[doc = "Reader of field `EFUSE_POWER_GLITCH_DSENSE_ERR`"] pub type EFUSE_POWER_GLITCH_DSENSE_ERR_R = crate::R<u8, u8>; #[doc = "Reader of field `EFUSE_POWERGLITCH_EN_ERR`"] pub type EFUSE_POWERGLITCH_EN_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_BTLC_GPIO_ENABLE_ERR`"] pub type EFUSE_BTLC_GPIO_ENABLE_ERR_R = crate::R<u8, u8>; #[doc = "Reader of field `EFUSE_VDD_SPI_AS_GPIO_ERR`"] pub type EFUSE_VDD_SPI_AS_GPIO_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_USB_EXCHG_PINS_ERR`"] pub type EFUSE_USB_EXCHG_PINS_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_USB_DREFL_ERR`"] pub type EFUSE_USB_DREFL_ERR_R = crate::R<u8, u8>; #[doc = "Reader of field `EFUSE_USB_DREFH_ERR`"] pub type EFUSE_USB_DREFH_ERR_R = crate::R<u8, u8>; #[doc = "Reader of field `EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR`"] pub type EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_DIS_PAD_JTAG_ERR`"] pub type EFUSE_DIS_PAD_JTAG_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_SOFT_DIS_JTAG_ERR`"] pub type EFUSE_SOFT_DIS_JTAG_ERR_R = crate::R<u8, u8>; #[doc = "Reader of field `EFUSE_JTAG_SEL_ENABLE_ERR`"] pub type EFUSE_JTAG_SEL_ENABLE_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_DIS_TWAI_ERR`"] pub type EFUSE_DIS_TWAI_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_RPT4_RESERVED6_ERR`"] pub type EFUSE_RPT4_RESERVED6_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_DIS_FORCE_DOWNLOAD_ERR`"] pub type EFUSE_DIS_FORCE_DOWNLOAD_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_DIS_USB_DEVICE_ERR`"] pub type EFUSE_DIS_USB_DEVICE_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_DIS_DOWNLOAD_ICACHE`"] pub type EFUSE_DIS_DOWNLOAD_ICACHE_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_DIS_USB_JTAG_ERR`"] pub type EFUSE_DIS_USB_JTAG_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_DIS_ICACHE_ERR`"] pub type EFUSE_DIS_ICACHE_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_DIS_RTC_RAM_BOOT_ERR`"] pub type EFUSE_DIS_RTC_RAM_BOOT_ERR_R = crate::R<bool, bool>; #[doc = "Reader of field `EFUSE_RD_DIS_ERR`"] pub type EFUSE_RD_DIS_ERR_R = crate::R<u8, u8>; impl R { #[doc = "Bits 30:31"] #[inline(always)] pub fn efuse_power_glitch_dsense_err(&self) -> EFUSE_POWER_GLITCH_DSENSE_ERR_R { EFUSE_POWER_GLITCH_DSENSE_ERR_R::new(((self.bits >> 30) & 0x03) as u8) } #[doc = "Bit 29"] #[inline(always)] pub fn efuse_powerglitch_en_err(&self) -> EFUSE_POWERGLITCH_EN_ERR_R { EFUSE_POWERGLITCH_EN_ERR_R::new(((self.bits >> 29) & 0x01) != 0) } #[doc = "Bits 27:28"] #[inline(always)] pub fn efuse_btlc_gpio_enable_err(&self) -> EFUSE_BTLC_GPIO_ENABLE_ERR_R { EFUSE_BTLC_GPIO_ENABLE_ERR_R::new(((self.bits >> 27) & 0x03) as u8) } #[doc = "Bit 26"] #[inline(always)] pub fn efuse_vdd_spi_as_gpio_err(&self) -> EFUSE_VDD_SPI_AS_GPIO_ERR_R { EFUSE_VDD_SPI_AS_GPIO_ERR_R::new(((self.bits >> 26) & 0x01) != 0) } #[doc = "Bit 25"] #[inline(always)] pub fn efuse_usb_exchg_pins_err(&self) -> EFUSE_USB_EXCHG_PINS_ERR_R { EFUSE_USB_EXCHG_PINS_ERR_R::new(((self.bits >> 25) & 0x01) != 0) } #[doc = "Bits 23:24"] #[inline(always)] pub fn efuse_usb_drefl_err(&self) -> EFUSE_USB_DREFL_ERR_R { EFUSE_USB_DREFL_ERR_R::new(((self.bits >> 23) & 0x03) as u8) } #[doc = "Bits 21:22"] #[inline(always)] pub fn efuse_usb_drefh_err(&self) -> EFUSE_USB_DREFH_ERR_R { EFUSE_USB_DREFH_ERR_R::new(((self.bits >> 21) & 0x03) as u8) } #[doc = "Bit 20"] #[inline(always)] pub fn efuse_dis_download_manual_encrypt_err(&self) -> EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR_R { EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR_R::new(((self.bits >> 20) & 0x01) != 0) } #[doc = "Bit 19"] #[inline(always)] pub fn efuse_dis_pad_jtag_err(&self) -> EFUSE_DIS_PAD_JTAG_ERR_R { EFUSE_DIS_PAD_JTAG_ERR_R::new(((self.bits >> 19) & 0x01) != 0) } #[doc = "Bits 16:18"] #[inline(always)] pub fn efuse_soft_dis_jtag_err(&self) -> EFUSE_SOFT_DIS_JTAG_ERR_R { EFUSE_SOFT_DIS_JTAG_ERR_R::new(((self.bits >> 16) & 0x07) as u8) } #[doc = "Bit 15"] #[inline(always)] pub fn efuse_jtag_sel_enable_err(&self) -> EFUSE_JTAG_SEL_ENABLE_ERR_R { EFUSE_JTAG_SEL_ENABLE_ERR_R::new(((self.bits >> 15) & 0x01) != 0) } #[doc = "Bit 14"] #[inline(always)] pub fn efuse_dis_twai_err(&self) -> EFUSE_DIS_TWAI_ERR_R { EFUSE_DIS_TWAI_ERR_R::new(((self.bits >> 14) & 0x01) != 0) } #[doc = "Bit 13"] #[inline(always)] pub fn efuse_rpt4_reserved6_err(&self) -> EFUSE_RPT4_RESERVED6_ERR_R { EFUSE_RPT4_RESERVED6_ERR_R::new(((self.bits >> 13) & 0x01) != 0) } #[doc = "Bit 12"] #[inline(always)] pub fn efuse_dis_force_download_err(&self) -> EFUSE_DIS_FORCE_DOWNLOAD_ERR_R { EFUSE_DIS_FORCE_DOWNLOAD_ERR_R::new(((self.bits >> 12) & 0x01) != 0) } #[doc = "Bit 11"] #[inline(always)] pub fn efuse_dis_usb_device_err(&self) -> EFUSE_DIS_USB_DEVICE_ERR_R { EFUSE_DIS_USB_DEVICE_ERR_R::new(((self.bits >> 11) & 0x01) != 0) } #[doc = "Bit 10"] #[inline(always)] pub fn efuse_dis_download_icache(&self) -> EFUSE_DIS_DOWNLOAD_ICACHE_R { EFUSE_DIS_DOWNLOAD_ICACHE_R::new(((self.bits >> 10) & 0x01) != 0) } #[doc = "Bit 9"] #[inline(always)] pub fn efuse_dis_usb_jtag_err(&self) -> EFUSE_DIS_USB_JTAG_ERR_R { EFUSE_DIS_USB_JTAG_ERR_R::new(((self.bits >> 9) & 0x01) != 0) } #[doc = "Bit 8"] #[inline(always)] pub fn efuse_dis_icache_err(&self) -> EFUSE_DIS_ICACHE_ERR_R { EFUSE_DIS_ICACHE_ERR_R::new(((self.bits >> 8) & 0x01) != 0) } #[doc = "Bit 7"] #[inline(always)] pub fn efuse_dis_rtc_ram_boot_err(&self) -> EFUSE_DIS_RTC_RAM_BOOT_ERR_R { EFUSE_DIS_RTC_RAM_BOOT_ERR_R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bits 0:6"] #[inline(always)] pub fn efuse_rd_dis_err(&self) -> EFUSE_RD_DIS_ERR_R { EFUSE_RD_DIS_ERR_R::new((self.bits & 0x7f) as u8) } }