Struct esp32s2_hal::peripherals::EFUSE
source · pub struct EFUSE { /* private fields */ }
Implementations§
source§impl EFUSE
impl EFUSE
sourcepub unsafe fn steal() -> EFUSE
pub unsafe fn steal() -> EFUSE
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn pgm_data(&self, n: usize) -> &Reg<PGM_DATA_SPEC>
pub fn pgm_data(&self, n: usize) -> &Reg<PGM_DATA_SPEC>
0x00..0x20 - Register %s that stores data to be programmed.
sourcepub fn pgm_data_iter(&self) -> impl Iterator<Item = &Reg<PGM_DATA_SPEC>>
pub fn pgm_data_iter(&self) -> impl Iterator<Item = &Reg<PGM_DATA_SPEC>>
Iterator for array of: 0x00..0x20 - Register %s that stores data to be programmed.
sourcepub fn pgm_check_value(&self, n: usize) -> &Reg<PGM_CHECK_VALUE_SPEC>
pub fn pgm_check_value(&self, n: usize) -> &Reg<PGM_CHECK_VALUE_SPEC>
0x20..0x2c - Register %s that stores the RS code to be programmed.
sourcepub fn pgm_check_value_iter(
&self
) -> impl Iterator<Item = &Reg<PGM_CHECK_VALUE_SPEC>>
pub fn pgm_check_value_iter( &self ) -> impl Iterator<Item = &Reg<PGM_CHECK_VALUE_SPEC>>
Iterator for array of: 0x20..0x2c - Register %s that stores the RS code to be programmed.
sourcepub fn rd_wr_dis(&self) -> &Reg<RD_WR_DIS_SPEC>
pub fn rd_wr_dis(&self) -> &Reg<RD_WR_DIS_SPEC>
0x2c - Register 0 of BLOCK0.
sourcepub fn rd_repeat_data0(&self) -> &Reg<RD_REPEAT_DATA0_SPEC>
pub fn rd_repeat_data0(&self) -> &Reg<RD_REPEAT_DATA0_SPEC>
0x30 - Register 1 of BLOCK0.
sourcepub fn rd_repeat_data1(&self) -> &Reg<RD_REPEAT_DATA1_SPEC>
pub fn rd_repeat_data1(&self) -> &Reg<RD_REPEAT_DATA1_SPEC>
0x34 - Register 2 of BLOCK0.
sourcepub fn rd_repeat_data2(&self) -> &Reg<RD_REPEAT_DATA2_SPEC>
pub fn rd_repeat_data2(&self) -> &Reg<RD_REPEAT_DATA2_SPEC>
0x38 - Register 3 of BLOCK0.
sourcepub fn rd_repeat_data3(&self) -> &Reg<RD_REPEAT_DATA3_SPEC>
pub fn rd_repeat_data3(&self) -> &Reg<RD_REPEAT_DATA3_SPEC>
0x3c - Register 4 of BLOCK0.
sourcepub fn rd_repeat_data4(&self) -> &Reg<RD_REPEAT_DATA4_SPEC>
pub fn rd_repeat_data4(&self) -> &Reg<RD_REPEAT_DATA4_SPEC>
0x40 - Register 5 of BLOCK0.
sourcepub fn rd_mac_spi_sys_0(&self) -> &Reg<RD_MAC_SPI_SYS_0_SPEC>
pub fn rd_mac_spi_sys_0(&self) -> &Reg<RD_MAC_SPI_SYS_0_SPEC>
0x44 - Register 0 of BLOCK1.
sourcepub fn rd_mac_spi_sys_1(&self) -> &Reg<RD_MAC_SPI_SYS_1_SPEC>
pub fn rd_mac_spi_sys_1(&self) -> &Reg<RD_MAC_SPI_SYS_1_SPEC>
0x48 - Register 1 of BLOCK1.
sourcepub fn rd_mac_spi_sys_2(&self) -> &Reg<RD_MAC_SPI_SYS_2_SPEC>
pub fn rd_mac_spi_sys_2(&self) -> &Reg<RD_MAC_SPI_SYS_2_SPEC>
0x4c - Register 2 of BLOCK1.
sourcepub fn rd_mac_spi_sys_3(&self) -> &Reg<RD_MAC_SPI_SYS_3_SPEC>
pub fn rd_mac_spi_sys_3(&self) -> &Reg<RD_MAC_SPI_SYS_3_SPEC>
0x50 - Register 3 of BLOCK1.
sourcepub fn rd_mac_spi_sys_4(&self) -> &Reg<RD_MAC_SPI_SYS_4_SPEC>
pub fn rd_mac_spi_sys_4(&self) -> &Reg<RD_MAC_SPI_SYS_4_SPEC>
0x54 - Register 4 of BLOCK1.
sourcepub fn rd_mac_spi_sys_5(&self) -> &Reg<RD_MAC_SPI_SYS_5_SPEC>
pub fn rd_mac_spi_sys_5(&self) -> &Reg<RD_MAC_SPI_SYS_5_SPEC>
0x58 - Register 5 of BLOCK1.
sourcepub fn rd_sys_data_part1_(&self, n: usize) -> &Reg<RD_SYS_DATA_PART1__SPEC>
pub fn rd_sys_data_part1_(&self, n: usize) -> &Reg<RD_SYS_DATA_PART1__SPEC>
0x5c..0x7c - Register %s of BLOCK2 (system).
sourcepub fn rd_sys_data_part1__iter(
&self
) -> impl Iterator<Item = &Reg<RD_SYS_DATA_PART1__SPEC>>
pub fn rd_sys_data_part1__iter( &self ) -> impl Iterator<Item = &Reg<RD_SYS_DATA_PART1__SPEC>>
Iterator for array of: 0x5c..0x7c - Register %s of BLOCK2 (system).
sourcepub fn rd_usr_data(&self, n: usize) -> &Reg<RD_USR_DATA_SPEC>
pub fn rd_usr_data(&self, n: usize) -> &Reg<RD_USR_DATA_SPEC>
0x7c..0x9c - Register %s of BLOCK3 (user).
sourcepub fn rd_usr_data_iter(&self) -> impl Iterator<Item = &Reg<RD_USR_DATA_SPEC>>
pub fn rd_usr_data_iter(&self) -> impl Iterator<Item = &Reg<RD_USR_DATA_SPEC>>
Iterator for array of: 0x7c..0x9c - Register %s of BLOCK3 (user).
sourcepub fn rd_key0_data(&self, n: usize) -> &Reg<RD_KEY0_DATA_SPEC>
pub fn rd_key0_data(&self, n: usize) -> &Reg<RD_KEY0_DATA_SPEC>
0x9c..0xbc - Register %s of BLOCK4 (KEY0).
sourcepub fn rd_key0_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY0_DATA_SPEC>>
pub fn rd_key0_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY0_DATA_SPEC>>
Iterator for array of: 0x9c..0xbc - Register %s of BLOCK4 (KEY0).
sourcepub fn rd_key1_data(&self, n: usize) -> &Reg<RD_KEY1_DATA_SPEC>
pub fn rd_key1_data(&self, n: usize) -> &Reg<RD_KEY1_DATA_SPEC>
0xbc..0xdc - Register %s of BLOCK5 (KEY1).
sourcepub fn rd_key1_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY1_DATA_SPEC>>
pub fn rd_key1_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY1_DATA_SPEC>>
Iterator for array of: 0xbc..0xdc - Register %s of BLOCK5 (KEY1).
sourcepub fn rd_key2_data(&self, n: usize) -> &Reg<RD_KEY2_DATA_SPEC>
pub fn rd_key2_data(&self, n: usize) -> &Reg<RD_KEY2_DATA_SPEC>
0xdc..0xfc - Register %s of BLOCK6 (KEY2).
sourcepub fn rd_key2_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY2_DATA_SPEC>>
pub fn rd_key2_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY2_DATA_SPEC>>
Iterator for array of: 0xdc..0xfc - Register %s of BLOCK6 (KEY2).
sourcepub fn rd_key3_data(&self, n: usize) -> &Reg<RD_KEY3_DATA_SPEC>
pub fn rd_key3_data(&self, n: usize) -> &Reg<RD_KEY3_DATA_SPEC>
0xfc..0x11c - Register %s of BLOCK7 (KEY3).
sourcepub fn rd_key3_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY3_DATA_SPEC>>
pub fn rd_key3_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY3_DATA_SPEC>>
Iterator for array of: 0xfc..0x11c - Register %s of BLOCK7 (KEY3).
sourcepub fn rd_key4_data(&self, n: usize) -> &Reg<RD_KEY4_DATA_SPEC>
pub fn rd_key4_data(&self, n: usize) -> &Reg<RD_KEY4_DATA_SPEC>
0x11c..0x13c - Register %s of BLOCK8 (KEY4).
sourcepub fn rd_key4_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY4_DATA_SPEC>>
pub fn rd_key4_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY4_DATA_SPEC>>
Iterator for array of: 0x11c..0x13c - Register %s of BLOCK8 (KEY4).
sourcepub fn rd_key5_data(&self, n: usize) -> &Reg<RD_KEY5_DATA_SPEC>
pub fn rd_key5_data(&self, n: usize) -> &Reg<RD_KEY5_DATA_SPEC>
0x13c..0x15c - Register %s of BLOCK9 (KEY5).
sourcepub fn rd_key5_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY5_DATA_SPEC>>
pub fn rd_key5_data_iter(&self) -> impl Iterator<Item = &Reg<RD_KEY5_DATA_SPEC>>
Iterator for array of: 0x13c..0x15c - Register %s of BLOCK9 (KEY5).
sourcepub fn rd_sys_data_part2_(&self, n: usize) -> &Reg<RD_SYS_DATA_PART2__SPEC>
pub fn rd_sys_data_part2_(&self, n: usize) -> &Reg<RD_SYS_DATA_PART2__SPEC>
0x15c..0x17c - Register %s of BLOCK10 (system).
sourcepub fn rd_sys_data_part2__iter(
&self
) -> impl Iterator<Item = &Reg<RD_SYS_DATA_PART2__SPEC>>
pub fn rd_sys_data_part2__iter( &self ) -> impl Iterator<Item = &Reg<RD_SYS_DATA_PART2__SPEC>>
Iterator for array of: 0x15c..0x17c - Register %s of BLOCK10 (system).
sourcepub fn rd_repeat_err0(&self) -> &Reg<RD_REPEAT_ERR0_SPEC>
pub fn rd_repeat_err0(&self) -> &Reg<RD_REPEAT_ERR0_SPEC>
0x17c - Programming error record register 0 of BLOCK0.
sourcepub fn rd_repeat_err1(&self) -> &Reg<RD_REPEAT_ERR1_SPEC>
pub fn rd_repeat_err1(&self) -> &Reg<RD_REPEAT_ERR1_SPEC>
0x180 - Programming error record register 1 of BLOCK0.
sourcepub fn rd_repeat_err2(&self) -> &Reg<RD_REPEAT_ERR2_SPEC>
pub fn rd_repeat_err2(&self) -> &Reg<RD_REPEAT_ERR2_SPEC>
0x184 - Programming error record register 2 of BLOCK0.
sourcepub fn rd_repeat_err3(&self) -> &Reg<RD_REPEAT_ERR3_SPEC>
pub fn rd_repeat_err3(&self) -> &Reg<RD_REPEAT_ERR3_SPEC>
0x188 - Programming error record register 3 of BLOCK0.
sourcepub fn rd_repeat_err4(&self) -> &Reg<RD_REPEAT_ERR4_SPEC>
pub fn rd_repeat_err4(&self) -> &Reg<RD_REPEAT_ERR4_SPEC>
0x190 - Programming error record register 4 of BLOCK0.
sourcepub fn rd_rs_err0(&self) -> &Reg<RD_RS_ERR0_SPEC>
pub fn rd_rs_err0(&self) -> &Reg<RD_RS_ERR0_SPEC>
0x1c0 - Programming error record register 0 of BLOCK1-10.
sourcepub fn rd_rs_err1(&self) -> &Reg<RD_RS_ERR1_SPEC>
pub fn rd_rs_err1(&self) -> &Reg<RD_RS_ERR1_SPEC>
0x1c4 - Programming error record register 1 of BLOCK1-10.
sourcepub fn status(&self) -> &Reg<STATUS_SPEC>
pub fn status(&self) -> &Reg<STATUS_SPEC>
0x1d0 - eFuse status register.
sourcepub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>
pub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>
0x1d8 - eFuse raw interrupt register.
sourcepub fn int_st(&self) -> &Reg<INT_ST_SPEC>
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
0x1dc - eFuse interrupt status register.
sourcepub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
0x1e0 - eFuse interrupt enable register.
sourcepub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
0x1e4 - eFuse interrupt clear register.
sourcepub fn dac_conf(&self) -> &Reg<DAC_CONF_SPEC>
pub fn dac_conf(&self) -> &Reg<DAC_CONF_SPEC>
0x1e8 - Controls the eFuse programming voltage.
sourcepub fn rd_tim_conf(&self) -> &Reg<RD_TIM_CONF_SPEC>
pub fn rd_tim_conf(&self) -> &Reg<RD_TIM_CONF_SPEC>
0x1ec - Configures read timing parameters.
sourcepub fn wr_tim_conf0(&self) -> &Reg<WR_TIM_CONF0_SPEC>
pub fn wr_tim_conf0(&self) -> &Reg<WR_TIM_CONF0_SPEC>
0x1f0 - Configuration register 0 of eFuse programming timing parameters.
sourcepub fn wr_tim_conf1(&self) -> &Reg<WR_TIM_CONF1_SPEC>
pub fn wr_tim_conf1(&self) -> &Reg<WR_TIM_CONF1_SPEC>
0x1f4 - Configuration register 1 of eFuse programming timing parameters.
sourcepub fn wr_tim_conf2(&self) -> &Reg<WR_TIM_CONF2_SPEC>
pub fn wr_tim_conf2(&self) -> &Reg<WR_TIM_CONF2_SPEC>
0x1f8 - Configuration register 2 of eFuse programming timing parameters.