1#![allow(clippy::empty_docs)]
7
8use super::EfuseField;
9
10pub const WR_DIS: EfuseField = EfuseField::new(0, 0, 0, 32);
12pub const RD_DIS: EfuseField = EfuseField::new(0, 1, 32, 7);
14pub const DIS_RTC_RAM_BOOT: EfuseField = EfuseField::new(0, 1, 39, 1);
16pub const DIS_ICACHE: EfuseField = EfuseField::new(0, 1, 40, 1);
18pub const DIS_USB_JTAG: EfuseField = EfuseField::new(0, 1, 41, 1);
21pub const DIS_DOWNLOAD_ICACHE: EfuseField = EfuseField::new(0, 1, 42, 1);
24pub const DIS_USB_SERIAL_JTAG: EfuseField = EfuseField::new(0, 1, 43, 1);
26pub const DIS_FORCE_DOWNLOAD: EfuseField = EfuseField::new(0, 1, 44, 1);
28pub const RPT4_RESERVED6: EfuseField = EfuseField::new(0, 1, 45, 1);
30pub const DIS_TWAI: EfuseField = EfuseField::new(0, 1, 46, 1);
32pub const JTAG_SEL_ENABLE: EfuseField = EfuseField::new(0, 1, 47, 1);
36pub const SOFT_DIS_JTAG: EfuseField = EfuseField::new(0, 1, 48, 3);
39pub const DIS_PAD_JTAG: EfuseField = EfuseField::new(0, 1, 51, 1);
41pub const DIS_DOWNLOAD_MANUAL_ENCRYPT: EfuseField = EfuseField::new(0, 1, 52, 1);
43pub const USB_DREFH: EfuseField = EfuseField::new(0, 1, 53, 2);
46pub const USB_DREFL: EfuseField = EfuseField::new(0, 1, 55, 2);
49pub const USB_EXCHG_PINS: EfuseField = EfuseField::new(0, 1, 57, 1);
51pub const VDD_SPI_AS_GPIO: EfuseField = EfuseField::new(0, 1, 58, 1);
53pub const BTLC_GPIO_ENABLE: EfuseField = EfuseField::new(0, 1, 59, 2);
55pub const POWERGLITCH_EN: EfuseField = EfuseField::new(0, 1, 61, 1);
57pub const POWER_GLITCH_DSENSE: EfuseField = EfuseField::new(0, 1, 62, 2);
59pub const RPT4_RESERVED2: EfuseField = EfuseField::new(0, 2, 64, 16);
61pub const WDT_DELAY_SEL: EfuseField = EfuseField::new(0, 2, 80, 2);
63pub const SPI_BOOT_CRYPT_CNT: EfuseField = EfuseField::new(0, 2, 82, 3);
65pub const SECURE_BOOT_KEY_REVOKE0: EfuseField = EfuseField::new(0, 2, 85, 1);
67pub const SECURE_BOOT_KEY_REVOKE1: EfuseField = EfuseField::new(0, 2, 86, 1);
69pub const SECURE_BOOT_KEY_REVOKE2: EfuseField = EfuseField::new(0, 2, 87, 1);
71pub const KEY_PURPOSE_0: EfuseField = EfuseField::new(0, 2, 88, 4);
73pub const KEY_PURPOSE_1: EfuseField = EfuseField::new(0, 2, 92, 4);
75pub const KEY_PURPOSE_2: EfuseField = EfuseField::new(0, 3, 96, 4);
77pub const KEY_PURPOSE_3: EfuseField = EfuseField::new(0, 3, 100, 4);
79pub const KEY_PURPOSE_4: EfuseField = EfuseField::new(0, 3, 104, 4);
81pub const KEY_PURPOSE_5: EfuseField = EfuseField::new(0, 3, 108, 4);
83pub const RPT4_RESERVED3: EfuseField = EfuseField::new(0, 3, 112, 4);
85pub const SECURE_BOOT_EN: EfuseField = EfuseField::new(0, 3, 116, 1);
87pub const SECURE_BOOT_AGGRESSIVE_REVOKE: EfuseField = EfuseField::new(0, 3, 117, 1);
89pub const RPT4_RESERVED0: EfuseField = EfuseField::new(0, 3, 118, 6);
91pub const FLASH_TPUW: EfuseField = EfuseField::new(0, 3, 124, 4);
95pub const DIS_DOWNLOAD_MODE: EfuseField = EfuseField::new(0, 4, 128, 1);
97pub const DIS_DIRECT_BOOT: EfuseField = EfuseField::new(0, 4, 129, 1);
99pub const DIS_USB_SERIAL_JTAG_ROM_PRINT: EfuseField = EfuseField::new(0, 4, 130, 1);
101pub const FLASH_ECC_MODE: EfuseField = EfuseField::new(0, 4, 131, 1);
103pub const DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE: EfuseField = EfuseField::new(0, 4, 132, 1);
105pub const ENABLE_SECURITY_DOWNLOAD: EfuseField = EfuseField::new(0, 4, 133, 1);
107pub const UART_PRINT_CONTROL: EfuseField = EfuseField::new(0, 4, 134, 2);
109pub const PIN_POWER_SELECTION: EfuseField = EfuseField::new(0, 4, 136, 1);
111pub const FLASH_TYPE: EfuseField = EfuseField::new(0, 4, 137, 1);
113pub const FLASH_PAGE_SIZE: EfuseField = EfuseField::new(0, 4, 138, 2);
115pub const FLASH_ECC_EN: EfuseField = EfuseField::new(0, 4, 140, 1);
117pub const FORCE_SEND_RESUME: EfuseField = EfuseField::new(0, 4, 141, 1);
119pub const SECURE_VERSION: EfuseField = EfuseField::new(0, 4, 142, 16);
121pub const RESERVED_0_158: EfuseField = EfuseField::new(0, 4, 158, 1);
123pub const ERR_RST_ENABLE: EfuseField = EfuseField::new(0, 4, 159, 1);
125pub const DISABLE_WAFER_VERSION_MAJOR: EfuseField = EfuseField::new(0, 5, 160, 1);
127pub const DISABLE_BLK_VERSION_MAJOR: EfuseField = EfuseField::new(0, 5, 161, 1);
129pub const RESERVED_0_162: EfuseField = EfuseField::new(0, 5, 162, 22);
131pub const MAC0: EfuseField = EfuseField::new(1, 0, 0, 32);
133pub const MAC1: EfuseField = EfuseField::new(1, 1, 32, 16);
135pub const SPI_PAD_CONFIG_CLK: EfuseField = EfuseField::new(1, 1, 48, 6);
137pub const SPI_PAD_CONFIG_Q: EfuseField = EfuseField::new(1, 1, 54, 6);
139pub const SPI_PAD_CONFIG_D: EfuseField = EfuseField::new(1, 1, 60, 6);
141pub const SPI_PAD_CONFIG_CS: EfuseField = EfuseField::new(1, 2, 66, 6);
143pub const SPI_PAD_CONFIG_HD: EfuseField = EfuseField::new(1, 2, 72, 6);
145pub const SPI_PAD_CONFIG_WP: EfuseField = EfuseField::new(1, 2, 78, 6);
147pub const SPI_PAD_CONFIG_DQS: EfuseField = EfuseField::new(1, 2, 84, 6);
149pub const SPI_PAD_CONFIG_D4: EfuseField = EfuseField::new(1, 2, 90, 6);
151pub const SPI_PAD_CONFIG_D5: EfuseField = EfuseField::new(1, 3, 96, 6);
153pub const SPI_PAD_CONFIG_D6: EfuseField = EfuseField::new(1, 3, 102, 6);
155pub const SPI_PAD_CONFIG_D7: EfuseField = EfuseField::new(1, 3, 108, 6);
157pub const WAFER_VERSION_MINOR_LO: EfuseField = EfuseField::new(1, 3, 114, 3);
159pub const PKG_VERSION: EfuseField = EfuseField::new(1, 3, 117, 3);
161pub const BLK_VERSION_MINOR: EfuseField = EfuseField::new(1, 3, 120, 3);
163pub const FLASH_CAP: EfuseField = EfuseField::new(1, 3, 123, 3);
165pub const FLASH_TEMP: EfuseField = EfuseField::new(1, 3, 126, 2);
167pub const FLASH_VENDOR: EfuseField = EfuseField::new(1, 4, 128, 3);
169pub const RESERVED_1_131: EfuseField = EfuseField::new(1, 4, 131, 4);
171pub const K_RTC_LDO: EfuseField = EfuseField::new(1, 4, 135, 7);
173pub const K_DIG_LDO: EfuseField = EfuseField::new(1, 4, 142, 7);
175pub const V_RTC_DBIAS20: EfuseField = EfuseField::new(1, 4, 149, 8);
177pub const V_DIG_DBIAS20: EfuseField = EfuseField::new(1, 4, 157, 8);
179pub const DIG_DBIAS_HVT: EfuseField = EfuseField::new(1, 5, 165, 5);
181pub const THRES_HVT: EfuseField = EfuseField::new(1, 5, 170, 10);
183pub const RESERVED_1_180: EfuseField = EfuseField::new(1, 5, 180, 3);
185pub const WAFER_VERSION_MINOR_HI: EfuseField = EfuseField::new(1, 5, 183, 1);
187pub const WAFER_VERSION_MAJOR: EfuseField = EfuseField::new(1, 5, 184, 2);
189pub const RESERVED_1_186: EfuseField = EfuseField::new(1, 5, 186, 6);
191pub const OPTIONAL_UNIQUE_ID: EfuseField = EfuseField::new(2, 0, 0, 128);
193pub const BLK_VERSION_MAJOR: EfuseField = EfuseField::new(2, 4, 128, 2);
195pub const RESERVED_2_130: EfuseField = EfuseField::new(2, 4, 130, 1);
197pub const TEMP_CALIB: EfuseField = EfuseField::new(2, 4, 131, 9);
199pub const OCODE: EfuseField = EfuseField::new(2, 4, 140, 8);
201pub const ADC1_INIT_CODE_ATTEN0: EfuseField = EfuseField::new(2, 4, 148, 10);
203pub const ADC1_INIT_CODE_ATTEN1: EfuseField = EfuseField::new(2, 4, 158, 10);
205pub const ADC1_INIT_CODE_ATTEN2: EfuseField = EfuseField::new(2, 5, 168, 10);
207pub const ADC1_INIT_CODE_ATTEN3: EfuseField = EfuseField::new(2, 5, 178, 10);
209pub const ADC1_CAL_VOL_ATTEN0: EfuseField = EfuseField::new(2, 5, 188, 10);
211pub const ADC1_CAL_VOL_ATTEN1: EfuseField = EfuseField::new(2, 6, 198, 10);
213pub const ADC1_CAL_VOL_ATTEN2: EfuseField = EfuseField::new(2, 6, 208, 10);
215pub const ADC1_CAL_VOL_ATTEN3: EfuseField = EfuseField::new(2, 6, 218, 10);
217pub const RESERVED_2_228: EfuseField = EfuseField::new(2, 7, 228, 28);
219pub const BLOCK_USR_DATA: EfuseField = EfuseField::new(3, 0, 0, 192);
221pub const RESERVED_3_192: EfuseField = EfuseField::new(3, 6, 192, 8);
223pub const CUSTOM_MAC: EfuseField = EfuseField::new(3, 6, 200, 48);
225pub const RESERVED_3_248: EfuseField = EfuseField::new(3, 7, 248, 8);
227pub const BLOCK_KEY0: EfuseField = EfuseField::new(4, 0, 0, 256);
229pub const BLOCK_KEY1: EfuseField = EfuseField::new(5, 0, 0, 256);
231pub const BLOCK_KEY2: EfuseField = EfuseField::new(6, 0, 0, 256);
233pub const BLOCK_KEY3: EfuseField = EfuseField::new(7, 0, 0, 256);
235pub const BLOCK_KEY4: EfuseField = EfuseField::new(8, 0, 0, 256);
237pub const BLOCK_KEY5: EfuseField = EfuseField::new(9, 0, 0, 256);
239pub const BLOCK_SYS_DATA2: EfuseField = EfuseField::new(10, 0, 0, 256);