pub struct EFUSE { /* private fields */ }
Expand description
eFuse Controller
Implementations§
source§impl EFUSE
impl EFUSE
sourcepub const PTR: *const RegisterBlock = {0x3f41a000 as *const efuse::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x3f41a000 as *const efuse::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn pgm_data(&self, n: usize) -> &PGM_DATA
pub fn pgm_data(&self, n: usize) -> &PGM_DATA
0x00..0x20 - Register %s that stores data to be programmed.
sourcepub fn pgm_data_iter(&self) -> impl Iterator<Item = &PGM_DATA>
pub fn pgm_data_iter(&self) -> impl Iterator<Item = &PGM_DATA>
Iterator for array of: 0x00..0x20 - Register %s that stores data to be programmed.
sourcepub fn pgm_check_value(&self, n: usize) -> &PGM_CHECK_VALUE
pub fn pgm_check_value(&self, n: usize) -> &PGM_CHECK_VALUE
0x20..0x2c - Register %s that stores the RS code to be programmed.
sourcepub fn pgm_check_value_iter(&self) -> impl Iterator<Item = &PGM_CHECK_VALUE>
pub fn pgm_check_value_iter(&self) -> impl Iterator<Item = &PGM_CHECK_VALUE>
Iterator for array of: 0x20..0x2c - Register %s that stores the RS code to be programmed.
sourcepub fn rd_repeat_data0(&self) -> &RD_REPEAT_DATA0
pub fn rd_repeat_data0(&self) -> &RD_REPEAT_DATA0
0x30 - Register 1 of BLOCK0.
sourcepub fn rd_repeat_data1(&self) -> &RD_REPEAT_DATA1
pub fn rd_repeat_data1(&self) -> &RD_REPEAT_DATA1
0x34 - Register 2 of BLOCK0.
sourcepub fn rd_repeat_data2(&self) -> &RD_REPEAT_DATA2
pub fn rd_repeat_data2(&self) -> &RD_REPEAT_DATA2
0x38 - Register 3 of BLOCK0.
sourcepub fn rd_repeat_data3(&self) -> &RD_REPEAT_DATA3
pub fn rd_repeat_data3(&self) -> &RD_REPEAT_DATA3
0x3c - Register 4 of BLOCK0.
sourcepub fn rd_repeat_data4(&self) -> &RD_REPEAT_DATA4
pub fn rd_repeat_data4(&self) -> &RD_REPEAT_DATA4
0x40 - Register 5 of BLOCK0.
sourcepub fn rd_mac_spi_sys_0(&self) -> &RD_MAC_SPI_SYS_0
pub fn rd_mac_spi_sys_0(&self) -> &RD_MAC_SPI_SYS_0
0x44 - Register 0 of BLOCK1.
sourcepub fn rd_mac_spi_sys_1(&self) -> &RD_MAC_SPI_SYS_1
pub fn rd_mac_spi_sys_1(&self) -> &RD_MAC_SPI_SYS_1
0x48 - Register 1 of BLOCK1.
sourcepub fn rd_mac_spi_sys_2(&self) -> &RD_MAC_SPI_SYS_2
pub fn rd_mac_spi_sys_2(&self) -> &RD_MAC_SPI_SYS_2
0x4c - Register 2 of BLOCK1.
sourcepub fn rd_mac_spi_sys_3(&self) -> &RD_MAC_SPI_SYS_3
pub fn rd_mac_spi_sys_3(&self) -> &RD_MAC_SPI_SYS_3
0x50 - Register 3 of BLOCK1.
sourcepub fn rd_mac_spi_sys_4(&self) -> &RD_MAC_SPI_SYS_4
pub fn rd_mac_spi_sys_4(&self) -> &RD_MAC_SPI_SYS_4
0x54 - Register 4 of BLOCK1.
sourcepub fn rd_mac_spi_sys_5(&self) -> &RD_MAC_SPI_SYS_5
pub fn rd_mac_spi_sys_5(&self) -> &RD_MAC_SPI_SYS_5
0x58 - Register 5 of BLOCK1.
sourcepub fn rd_sys_data_part1_(&self, n: usize) -> &RD_SYS_DATA_PART1_
pub fn rd_sys_data_part1_(&self, n: usize) -> &RD_SYS_DATA_PART1_
0x5c..0x7c - Register %s of BLOCK2 (system).
sourcepub fn rd_sys_data_part1__iter(
&self
) -> impl Iterator<Item = &RD_SYS_DATA_PART1_>
pub fn rd_sys_data_part1__iter( &self ) -> impl Iterator<Item = &RD_SYS_DATA_PART1_>
Iterator for array of: 0x5c..0x7c - Register %s of BLOCK2 (system).
sourcepub fn rd_usr_data(&self, n: usize) -> &RD_USR_DATA
pub fn rd_usr_data(&self, n: usize) -> &RD_USR_DATA
0x7c..0x9c - Register %s of BLOCK3 (user).
sourcepub fn rd_usr_data_iter(&self) -> impl Iterator<Item = &RD_USR_DATA>
pub fn rd_usr_data_iter(&self) -> impl Iterator<Item = &RD_USR_DATA>
Iterator for array of: 0x7c..0x9c - Register %s of BLOCK3 (user).
sourcepub fn rd_key0_data(&self, n: usize) -> &RD_KEY0_DATA
pub fn rd_key0_data(&self, n: usize) -> &RD_KEY0_DATA
0x9c..0xbc - Register %s of BLOCK4 (KEY0).
sourcepub fn rd_key0_data_iter(&self) -> impl Iterator<Item = &RD_KEY0_DATA>
pub fn rd_key0_data_iter(&self) -> impl Iterator<Item = &RD_KEY0_DATA>
Iterator for array of: 0x9c..0xbc - Register %s of BLOCK4 (KEY0).
sourcepub fn rd_key1_data(&self, n: usize) -> &RD_KEY1_DATA
pub fn rd_key1_data(&self, n: usize) -> &RD_KEY1_DATA
0xbc..0xdc - Register %s of BLOCK5 (KEY1).
sourcepub fn rd_key1_data_iter(&self) -> impl Iterator<Item = &RD_KEY1_DATA>
pub fn rd_key1_data_iter(&self) -> impl Iterator<Item = &RD_KEY1_DATA>
Iterator for array of: 0xbc..0xdc - Register %s of BLOCK5 (KEY1).
sourcepub fn rd_key2_data(&self, n: usize) -> &RD_KEY2_DATA
pub fn rd_key2_data(&self, n: usize) -> &RD_KEY2_DATA
0xdc..0xfc - Register %s of BLOCK6 (KEY2).
sourcepub fn rd_key2_data_iter(&self) -> impl Iterator<Item = &RD_KEY2_DATA>
pub fn rd_key2_data_iter(&self) -> impl Iterator<Item = &RD_KEY2_DATA>
Iterator for array of: 0xdc..0xfc - Register %s of BLOCK6 (KEY2).
sourcepub fn rd_key3_data(&self, n: usize) -> &RD_KEY3_DATA
pub fn rd_key3_data(&self, n: usize) -> &RD_KEY3_DATA
0xfc..0x11c - Register %s of BLOCK7 (KEY3).
sourcepub fn rd_key3_data_iter(&self) -> impl Iterator<Item = &RD_KEY3_DATA>
pub fn rd_key3_data_iter(&self) -> impl Iterator<Item = &RD_KEY3_DATA>
Iterator for array of: 0xfc..0x11c - Register %s of BLOCK7 (KEY3).
sourcepub fn rd_key4_data(&self, n: usize) -> &RD_KEY4_DATA
pub fn rd_key4_data(&self, n: usize) -> &RD_KEY4_DATA
0x11c..0x13c - Register %s of BLOCK8 (KEY4).
sourcepub fn rd_key4_data_iter(&self) -> impl Iterator<Item = &RD_KEY4_DATA>
pub fn rd_key4_data_iter(&self) -> impl Iterator<Item = &RD_KEY4_DATA>
Iterator for array of: 0x11c..0x13c - Register %s of BLOCK8 (KEY4).
sourcepub fn rd_key5_data(&self, n: usize) -> &RD_KEY5_DATA
pub fn rd_key5_data(&self, n: usize) -> &RD_KEY5_DATA
0x13c..0x15c - Register %s of BLOCK9 (KEY5).
sourcepub fn rd_key5_data_iter(&self) -> impl Iterator<Item = &RD_KEY5_DATA>
pub fn rd_key5_data_iter(&self) -> impl Iterator<Item = &RD_KEY5_DATA>
Iterator for array of: 0x13c..0x15c - Register %s of BLOCK9 (KEY5).
sourcepub fn rd_sys_data_part2_(&self, n: usize) -> &RD_SYS_DATA_PART2_
pub fn rd_sys_data_part2_(&self, n: usize) -> &RD_SYS_DATA_PART2_
0x15c..0x17c - Register %s of BLOCK10 (system).
sourcepub fn rd_sys_data_part2__iter(
&self
) -> impl Iterator<Item = &RD_SYS_DATA_PART2_>
pub fn rd_sys_data_part2__iter( &self ) -> impl Iterator<Item = &RD_SYS_DATA_PART2_>
Iterator for array of: 0x15c..0x17c - Register %s of BLOCK10 (system).
sourcepub fn rd_repeat_err0(&self) -> &RD_REPEAT_ERR0
pub fn rd_repeat_err0(&self) -> &RD_REPEAT_ERR0
0x17c - Programming error record register 0 of BLOCK0.
sourcepub fn rd_repeat_err1(&self) -> &RD_REPEAT_ERR1
pub fn rd_repeat_err1(&self) -> &RD_REPEAT_ERR1
0x180 - Programming error record register 1 of BLOCK0.
sourcepub fn rd_repeat_err2(&self) -> &RD_REPEAT_ERR2
pub fn rd_repeat_err2(&self) -> &RD_REPEAT_ERR2
0x184 - Programming error record register 2 of BLOCK0.
sourcepub fn rd_repeat_err3(&self) -> &RD_REPEAT_ERR3
pub fn rd_repeat_err3(&self) -> &RD_REPEAT_ERR3
0x188 - Programming error record register 3 of BLOCK0.
sourcepub fn rd_repeat_err4(&self) -> &RD_REPEAT_ERR4
pub fn rd_repeat_err4(&self) -> &RD_REPEAT_ERR4
0x190 - Programming error record register 4 of BLOCK0.
sourcepub fn rd_rs_err0(&self) -> &RD_RS_ERR0
pub fn rd_rs_err0(&self) -> &RD_RS_ERR0
0x1c0 - Programming error record register 0 of BLOCK1-10.
sourcepub fn rd_rs_err1(&self) -> &RD_RS_ERR1
pub fn rd_rs_err1(&self) -> &RD_RS_ERR1
0x1c4 - Programming error record register 1 of BLOCK1-10.
sourcepub fn rd_tim_conf(&self) -> &RD_TIM_CONF
pub fn rd_tim_conf(&self) -> &RD_TIM_CONF
0x1ec - Configures read timing parameters.
sourcepub fn wr_tim_conf0(&self) -> &WR_TIM_CONF0
pub fn wr_tim_conf0(&self) -> &WR_TIM_CONF0
0x1f0 - Configuration register 0 of eFuse programming timing parameters.
sourcepub fn wr_tim_conf1(&self) -> &WR_TIM_CONF1
pub fn wr_tim_conf1(&self) -> &WR_TIM_CONF1
0x1f4 - Configuration register 1 of eFuse programming timing parameters.
sourcepub fn wr_tim_conf2(&self) -> &WR_TIM_CONF2
pub fn wr_tim_conf2(&self) -> &WR_TIM_CONF2
0x1f8 - Configuration register 2 of eFuse programming timing parameters.