1#![allow(clippy::empty_docs)]
7
8use crate::efuse::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_ICACHE: EfuseField = EfuseField::new(0, 1, 39, 1);
16pub const DIS_USB_JTAG: EfuseField = EfuseField::new(0, 1, 40, 1);
19pub const DIS_USB_SERIAL_JTAG: EfuseField = EfuseField::new(0, 1, 41, 1);
22pub const DIS_FORCE_DOWNLOAD: EfuseField = EfuseField::new(0, 1, 42, 1);
25pub const SPI_DOWNLOAD_MSPI_DIS: EfuseField = EfuseField::new(0, 1, 43, 1);
28pub const JTAG_SEL_ENABLE: EfuseField = EfuseField::new(0, 1, 44, 1);
32pub const DIS_PAD_JTAG: EfuseField = EfuseField::new(0, 1, 45, 1);
35pub const DIS_DOWNLOAD_MANUAL_ENCRYPT: EfuseField = EfuseField::new(0, 1, 46, 1);
38pub const USB_DREFH: EfuseField = EfuseField::new(0, 1, 47, 2);
41pub const USB_DREFL: EfuseField = EfuseField::new(0, 1, 49, 2);
44pub const USB_EXCHG_PINS: EfuseField = EfuseField::new(0, 1, 51, 1);
47pub const VDD_SPI_AS_GPIO: EfuseField = EfuseField::new(0, 1, 52, 1);
50pub const WDT_DELAY_SEL: EfuseField = EfuseField::new(0, 1, 53, 2);
53pub const SPI_BOOT_CRYPT_CNT: EfuseField = EfuseField::new(0, 1, 55, 3);
55pub const SECURE_BOOT_KEY_REVOKE0: EfuseField = EfuseField::new(0, 1, 58, 1);
57pub const SECURE_BOOT_KEY_REVOKE1: EfuseField = EfuseField::new(0, 1, 59, 1);
59pub const SECURE_BOOT_KEY_REVOKE2: EfuseField = EfuseField::new(0, 1, 60, 1);
61pub const RESERVE_0_61: EfuseField = EfuseField::new(0, 1, 61, 3);
63pub const KEY_PURPOSE_0: EfuseField = EfuseField::new(0, 2, 64, 4);
65pub const KEY_PURPOSE_1: EfuseField = EfuseField::new(0, 2, 68, 4);
67pub const KEY_PURPOSE_2: EfuseField = EfuseField::new(0, 2, 72, 4);
69pub const KEY_PURPOSE_3: EfuseField = EfuseField::new(0, 2, 76, 4);
71pub const KEY_PURPOSE_4: EfuseField = EfuseField::new(0, 2, 80, 4);
73pub const KEY_PURPOSE_5: EfuseField = EfuseField::new(0, 2, 84, 4);
75pub const SEC_DPA_LEVEL: EfuseField = EfuseField::new(0, 2, 88, 2);
77pub const SECURE_BOOT_EN: EfuseField = EfuseField::new(0, 2, 90, 1);
79pub const SECURE_BOOT_AGGRESSIVE_REVOKE: EfuseField = EfuseField::new(0, 2, 91, 1);
82pub const FLASH_TPUW: EfuseField = EfuseField::new(0, 2, 92, 4);
86pub const DIS_DOWNLOAD_MODE: EfuseField = EfuseField::new(0, 3, 96, 1);
88pub const DIS_DIRECT_BOOT: EfuseField = EfuseField::new(0, 3, 97, 1);
91pub const DIS_USB_SERIAL_JTAG_ROM_PRINT: EfuseField = EfuseField::new(0, 3, 98, 1);
94pub const DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE: EfuseField = EfuseField::new(0, 3, 99, 1);
97pub const ENABLE_SECURITY_DOWNLOAD: EfuseField = EfuseField::new(0, 3, 100, 1);
100pub const UART_PRINT_CONTROL: EfuseField = EfuseField::new(0, 3, 101, 2);
102pub const FORCE_SEND_RESUME: EfuseField = EfuseField::new(0, 3, 103, 1);
105pub const SECURE_VERSION: EfuseField = EfuseField::new(0, 3, 104, 16);
107pub const SECURE_BOOT_DISABLE_FAST_WAKE: EfuseField = EfuseField::new(0, 3, 120, 1);
110pub const HYS_EN_PAD: EfuseField = EfuseField::new(0, 3, 121, 1);
112pub const XTS_DPA_CLK_ENABLE: EfuseField = EfuseField::new(0, 3, 122, 1);
115pub const XTS_DPA_PSEUDO_LEVEL: EfuseField = EfuseField::new(0, 3, 123, 2);
118pub const DIS_WIFI6: EfuseField = EfuseField::new(0, 3, 125, 1);
121pub const ECDSA_DISABLE_P192: EfuseField = EfuseField::new(0, 3, 126, 1);
124pub const ECC_FORCE_CONST_TIME: EfuseField = EfuseField::new(0, 3, 127, 1);
127pub const BOOTLOADER_ANTI_ROLLBACK_SECURE_VERSION: EfuseField = EfuseField::new(0, 4, 128, 4);
130pub const BOOTLOADER_ANTI_ROLLBACK_EN: EfuseField = EfuseField::new(0, 4, 132, 1);
133pub const BOOTLOADER_ANTI_ROLLBACK_UPDATE_IN_ROM: EfuseField = EfuseField::new(0, 4, 133, 1);
136pub const RECOVERY_BOOTLOADER_FLASH_SECTOR: EfuseField = EfuseField::new(0, 4, 134, 12);
140pub const RESERVE_0_146: EfuseField = EfuseField::new(0, 4, 146, 14);
142pub const REPEAT_DATA4: EfuseField = EfuseField::new(0, 5, 160, 24);
144pub const RESERVE_0_184: EfuseField = EfuseField::new(0, 5, 184, 8);
146pub const MAC0: EfuseField = EfuseField::new(1, 0, 0, 32);
148pub const MAC1: EfuseField = EfuseField::new(1, 1, 32, 16);
150pub const RESERVE_1_48: EfuseField = EfuseField::new(1, 1, 48, 16);
152pub const WAFER_VERSION_MINOR: EfuseField = EfuseField::new(1, 2, 64, 4);
154pub const WAFER_VERSION_MAJOR: EfuseField = EfuseField::new(1, 2, 68, 2);
156pub const DISABLE_WAFER_VERSION_MAJOR: EfuseField = EfuseField::new(1, 2, 70, 1);
158pub const DISABLE_BLK_VERSION_MAJOR: EfuseField = EfuseField::new(1, 2, 71, 1);
160pub const BLK_VERSION_MINOR: EfuseField = EfuseField::new(1, 2, 72, 3);
162pub const BLK_VERSION_MAJOR: EfuseField = EfuseField::new(1, 2, 75, 2);
164pub const FLASH_CAP: EfuseField = EfuseField::new(1, 2, 77, 3);
166pub const FLASH_VENDOR: EfuseField = EfuseField::new(1, 2, 80, 3);
168pub const PSRAM_CAP: EfuseField = EfuseField::new(1, 2, 83, 3);
170pub const PSRAM_VENDOR: EfuseField = EfuseField::new(1, 2, 86, 2);
172pub const TEMP: EfuseField = EfuseField::new(1, 2, 88, 2);
174pub const PKG_VERSION: EfuseField = EfuseField::new(1, 2, 90, 3);
176pub const ACTIVE_HP_DBIAS: EfuseField = EfuseField::new(1, 2, 93, 4);
178pub const ACTIVE_LP_DBIAS: EfuseField = EfuseField::new(1, 3, 97, 4);
180pub const LSLP_HP_DBG: EfuseField = EfuseField::new(1, 3, 101, 2);
182pub const LSLP_HP_DBIAS: EfuseField = EfuseField::new(1, 3, 103, 4);
184pub const DSLP_LP_DBG: EfuseField = EfuseField::new(1, 3, 107, 4);
186pub const DSLP_LP_DBIAS: EfuseField = EfuseField::new(1, 3, 111, 5);
188pub const LP_HP_DBIAS_VOL_GAP: EfuseField = EfuseField::new(1, 3, 116, 5);
190pub const RESERVED_1_121: EfuseField = EfuseField::new(1, 3, 121, 7);
192pub const SYS_DATA_PART0_1: EfuseField = EfuseField::new(1, 4, 128, 32);
194pub const SYS_DATA_PART0_2: EfuseField = EfuseField::new(1, 5, 160, 32);
196pub const OPTIONAL_UNIQUE_ID: EfuseField = EfuseField::new(2, 0, 0, 128);
198pub const TEMPERATURE_SENSOR: EfuseField = EfuseField::new(2, 4, 128, 9);
200pub const OCODE: EfuseField = EfuseField::new(2, 4, 137, 8);
202pub const ADC1_AVE_INIT_CODE_ATTEN0: EfuseField = EfuseField::new(2, 4, 145, 10);
204pub const ADC1_AVE_INIT_CODE_ATTEN1: EfuseField = EfuseField::new(2, 4, 155, 10);
206pub const ADC1_AVE_INIT_CODE_ATTEN2: EfuseField = EfuseField::new(2, 5, 165, 10);
208pub const ADC1_AVE_INIT_CODE_ATTEN3: EfuseField = EfuseField::new(2, 5, 175, 10);
210pub const ADC1_HI_DOUT_ATTEN0: EfuseField = EfuseField::new(2, 5, 185, 10);
212pub const ADC1_HI_DOUT_ATTEN1: EfuseField = EfuseField::new(2, 6, 195, 10);
214pub const ADC1_HI_DOUT_ATTEN2: EfuseField = EfuseField::new(2, 6, 205, 10);
216pub const ADC1_HI_DOUT_ATTEN3: EfuseField = EfuseField::new(2, 6, 215, 10);
218pub const ADC1_CH0_ATTEN0_INITCODE_DIFF: EfuseField = EfuseField::new(2, 7, 225, 4);
220pub const ADC1_CH1_ATTEN0_INITCODE_DIFF: EfuseField = EfuseField::new(2, 7, 229, 4);
222pub const ADC1_CH2_ATTEN0_INITCODE_DIFF: EfuseField = EfuseField::new(2, 7, 233, 4);
224pub const ADC1_CH3_ATTEN0_INITCODE_DIFF: EfuseField = EfuseField::new(2, 7, 237, 4);
226pub const RESERVED_2_241: EfuseField = EfuseField::new(2, 7, 241, 15);
228pub const BLOCK_USR_DATA: EfuseField = EfuseField::new(3, 0, 0, 192);
230pub const RESERVED_3_192: EfuseField = EfuseField::new(3, 6, 192, 8);
232pub const CUSTOM_MAC: EfuseField = EfuseField::new(3, 6, 200, 48);
234pub const RESERVED_3_248: EfuseField = EfuseField::new(3, 7, 248, 8);
236pub const BLOCK_KEY0: EfuseField = EfuseField::new(4, 0, 0, 256);
238pub const BLOCK_KEY1: EfuseField = EfuseField::new(5, 0, 0, 256);
240pub const BLOCK_KEY2: EfuseField = EfuseField::new(6, 0, 0, 256);
242pub const BLOCK_KEY3: EfuseField = EfuseField::new(7, 0, 0, 256);
244pub const BLOCK_KEY4: EfuseField = EfuseField::new(8, 0, 0, 256);
246pub const BLOCK_KEY5: EfuseField = EfuseField::new(9, 0, 0, 256);
248pub const BLOCK_SYS_DATA2: EfuseField = EfuseField::new(10, 0, 0, 256);