Struct EFUSE

Source
pub struct EFUSE { /* private fields */ }

Implementations§

Source§

impl EFUSE

Source

pub const PTR: *const <EFUSE as Deref>::Target = {0x600b0800 as *const <esp32c6::EFUSE as core::ops::Deref>::Target}

Pointer to the register block

Source

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.

Source

pub const fn ptr() -> *const <EFUSE as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

Source

pub fn pgm_data0(&self) -> &Reg<PGM_DATA0_SPEC>

0x00 - Register 0 that stores data to be programmed.

Source

pub fn pgm_data1(&self) -> &Reg<PGM_DATA1_SPEC>

0x04 - Register 1 that stores data to be programmed.

Source

pub fn pgm_data2(&self) -> &Reg<PGM_DATA2_SPEC>

0x08 - Register 2 that stores data to be programmed.

Source

pub fn pgm_data3(&self) -> &Reg<PGM_DATA3_SPEC>

0x0c - Register 3 that stores data to be programmed.

Source

pub fn pgm_data4(&self) -> &Reg<PGM_DATA4_SPEC>

0x10 - Register 4 that stores data to be programmed.

Source

pub fn pgm_data5(&self) -> &Reg<PGM_DATA5_SPEC>

0x14 - Register 5 that stores data to be programmed.

Source

pub fn pgm_data6(&self) -> &Reg<PGM_DATA6_SPEC>

0x18 - Register 6 that stores data to be programmed.

Source

pub fn pgm_data7(&self) -> &Reg<PGM_DATA7_SPEC>

0x1c - Register 7 that stores data to be programmed.

Source

pub fn pgm_check_value0(&self) -> &Reg<PGM_CHECK_VALUE0_SPEC>

0x20 - Register 0 that stores the RS code to be programmed.

Source

pub fn pgm_check_value1(&self) -> &Reg<PGM_CHECK_VALUE1_SPEC>

0x24 - Register 1 that stores the RS code to be programmed.

Source

pub fn pgm_check_value2(&self) -> &Reg<PGM_CHECK_VALUE2_SPEC>

0x28 - Register 2 that stores the RS code to be programmed.

Source

pub fn rd_wr_dis(&self) -> &Reg<RD_WR_DIS_SPEC>

0x2c - BLOCK0 data register 0.

Source

pub fn rd_repeat_data0(&self) -> &Reg<RD_REPEAT_DATA0_SPEC>

0x30 - BLOCK0 data register 1.

Source

pub fn rd_repeat_data1(&self) -> &Reg<RD_REPEAT_DATA1_SPEC>

0x34 - BLOCK0 data register 2.

Source

pub fn rd_repeat_data2(&self) -> &Reg<RD_REPEAT_DATA2_SPEC>

0x38 - BLOCK0 data register 3.

Source

pub fn rd_repeat_data3(&self) -> &Reg<RD_REPEAT_DATA3_SPEC>

0x3c - BLOCK0 data register 4.

Source

pub fn rd_repeat_data4(&self) -> &Reg<RD_REPEAT_DATA4_SPEC>

0x40 - BLOCK0 data register 5.

Source

pub fn rd_mac_spi_sys_0(&self) -> &Reg<RD_MAC_SPI_SYS_0_SPEC>

0x44 - BLOCK1 data register $n.

Source

pub fn rd_mac_spi_sys_1(&self) -> &Reg<RD_MAC_SPI_SYS_1_SPEC>

0x48 - BLOCK1 data register $n.

Source

pub fn rd_mac_spi_sys_2(&self) -> &Reg<RD_MAC_SPI_SYS_2_SPEC>

0x4c - BLOCK1 data register $n.

Source

pub fn rd_mac_spi_sys_3(&self) -> &Reg<RD_MAC_SPI_SYS_3_SPEC>

0x50 - BLOCK1 data register $n.

Source

pub fn rd_mac_spi_sys_4(&self) -> &Reg<RD_MAC_SPI_SYS_4_SPEC>

0x54 - BLOCK1 data register $n.

Source

pub fn rd_mac_spi_sys_5(&self) -> &Reg<RD_MAC_SPI_SYS_5_SPEC>

0x58 - BLOCK1 data register $n.

Source

pub fn rd_sys_part1_data0(&self) -> &Reg<RD_SYS_PART1_DATA0_SPEC>

0x5c - Register $n of BLOCK2 (system).

Source

pub fn rd_sys_part1_data1(&self) -> &Reg<RD_SYS_PART1_DATA1_SPEC>

0x60 - Register $n of BLOCK2 (system).

Source

pub fn rd_sys_part1_data2(&self) -> &Reg<RD_SYS_PART1_DATA2_SPEC>

0x64 - Register $n of BLOCK2 (system).

Source

pub fn rd_sys_part1_data3(&self) -> &Reg<RD_SYS_PART1_DATA3_SPEC>

0x68 - Register $n of BLOCK2 (system).

Source

pub fn rd_sys_part1_data4(&self) -> &Reg<RD_SYS_PART1_DATA4_SPEC>

0x6c - Register $n of BLOCK2 (system).

Source

pub fn rd_sys_part1_data5(&self) -> &Reg<RD_SYS_PART1_DATA5_SPEC>

0x70 - Register $n of BLOCK2 (system).

Source

pub fn rd_sys_part1_data6(&self) -> &Reg<RD_SYS_PART1_DATA6_SPEC>

0x74 - Register $n of BLOCK2 (system).

Source

pub fn rd_sys_part1_data7(&self) -> &Reg<RD_SYS_PART1_DATA7_SPEC>

0x78 - Register $n of BLOCK2 (system).

Source

pub fn rd_usr_data0(&self) -> &Reg<RD_USR_DATA0_SPEC>

0x7c - Register $n of BLOCK3 (user).

Source

pub fn rd_usr_data1(&self) -> &Reg<RD_USR_DATA1_SPEC>

0x80 - Register $n of BLOCK3 (user).

Source

pub fn rd_usr_data2(&self) -> &Reg<RD_USR_DATA2_SPEC>

0x84 - Register $n of BLOCK3 (user).

Source

pub fn rd_usr_data3(&self) -> &Reg<RD_USR_DATA3_SPEC>

0x88 - Register $n of BLOCK3 (user).

Source

pub fn rd_usr_data4(&self) -> &Reg<RD_USR_DATA4_SPEC>

0x8c - Register $n of BLOCK3 (user).

Source

pub fn rd_usr_data5(&self) -> &Reg<RD_USR_DATA5_SPEC>

0x90 - Register $n of BLOCK3 (user).

Source

pub fn rd_usr_data6(&self) -> &Reg<RD_USR_DATA6_SPEC>

0x94 - Register $n of BLOCK3 (user).

Source

pub fn rd_usr_data7(&self) -> &Reg<RD_USR_DATA7_SPEC>

0x98 - Register $n of BLOCK3 (user).

Source

pub fn rd_key0_data0(&self) -> &Reg<RD_KEY0_DATA0_SPEC>

0x9c - Register $n of BLOCK4 (KEY0).

Source

pub fn rd_key0_data1(&self) -> &Reg<RD_KEY0_DATA1_SPEC>

0xa0 - Register $n of BLOCK4 (KEY0).

Source

pub fn rd_key0_data2(&self) -> &Reg<RD_KEY0_DATA2_SPEC>

0xa4 - Register $n of BLOCK4 (KEY0).

Source

pub fn rd_key0_data3(&self) -> &Reg<RD_KEY0_DATA3_SPEC>

0xa8 - Register $n of BLOCK4 (KEY0).

Source

pub fn rd_key0_data4(&self) -> &Reg<RD_KEY0_DATA4_SPEC>

0xac - Register $n of BLOCK4 (KEY0).

Source

pub fn rd_key0_data5(&self) -> &Reg<RD_KEY0_DATA5_SPEC>

0xb0 - Register $n of BLOCK4 (KEY0).

Source

pub fn rd_key0_data6(&self) -> &Reg<RD_KEY0_DATA6_SPEC>

0xb4 - Register $n of BLOCK4 (KEY0).

Source

pub fn rd_key0_data7(&self) -> &Reg<RD_KEY0_DATA7_SPEC>

0xb8 - Register $n of BLOCK4 (KEY0).

Source

pub fn rd_key1_data0(&self) -> &Reg<RD_KEY1_DATA0_SPEC>

0xbc - Register $n of BLOCK5 (KEY1).

Source

pub fn rd_key1_data1(&self) -> &Reg<RD_KEY1_DATA1_SPEC>

0xc0 - Register $n of BLOCK5 (KEY1).

Source

pub fn rd_key1_data2(&self) -> &Reg<RD_KEY1_DATA2_SPEC>

0xc4 - Register $n of BLOCK5 (KEY1).

Source

pub fn rd_key1_data3(&self) -> &Reg<RD_KEY1_DATA3_SPEC>

0xc8 - Register $n of BLOCK5 (KEY1).

Source

pub fn rd_key1_data4(&self) -> &Reg<RD_KEY1_DATA4_SPEC>

0xcc - Register $n of BLOCK5 (KEY1).

Source

pub fn rd_key1_data5(&self) -> &Reg<RD_KEY1_DATA5_SPEC>

0xd0 - Register $n of BLOCK5 (KEY1).

Source

pub fn rd_key1_data6(&self) -> &Reg<RD_KEY1_DATA6_SPEC>

0xd4 - Register $n of BLOCK5 (KEY1).

Source

pub fn rd_key1_data7(&self) -> &Reg<RD_KEY1_DATA7_SPEC>

0xd8 - Register $n of BLOCK5 (KEY1).

Source

pub fn rd_key2_data0(&self) -> &Reg<RD_KEY2_DATA0_SPEC>

0xdc - Register $n of BLOCK6 (KEY2).

Source

pub fn rd_key2_data1(&self) -> &Reg<RD_KEY2_DATA1_SPEC>

0xe0 - Register $n of BLOCK6 (KEY2).

Source

pub fn rd_key2_data2(&self) -> &Reg<RD_KEY2_DATA2_SPEC>

0xe4 - Register $n of BLOCK6 (KEY2).

Source

pub fn rd_key2_data3(&self) -> &Reg<RD_KEY2_DATA3_SPEC>

0xe8 - Register $n of BLOCK6 (KEY2).

Source

pub fn rd_key2_data4(&self) -> &Reg<RD_KEY2_DATA4_SPEC>

0xec - Register $n of BLOCK6 (KEY2).

Source

pub fn rd_key2_data5(&self) -> &Reg<RD_KEY2_DATA5_SPEC>

0xf0 - Register $n of BLOCK6 (KEY2).

Source

pub fn rd_key2_data6(&self) -> &Reg<RD_KEY2_DATA6_SPEC>

0xf4 - Register $n of BLOCK6 (KEY2).

Source

pub fn rd_key2_data7(&self) -> &Reg<RD_KEY2_DATA7_SPEC>

0xf8 - Register $n of BLOCK6 (KEY2).

Source

pub fn rd_key3_data0(&self) -> &Reg<RD_KEY3_DATA0_SPEC>

0xfc - Register $n of BLOCK7 (KEY3).

Source

pub fn rd_key3_data1(&self) -> &Reg<RD_KEY3_DATA1_SPEC>

0x100 - Register $n of BLOCK7 (KEY3).

Source

pub fn rd_key3_data2(&self) -> &Reg<RD_KEY3_DATA2_SPEC>

0x104 - Register $n of BLOCK7 (KEY3).

Source

pub fn rd_key3_data3(&self) -> &Reg<RD_KEY3_DATA3_SPEC>

0x108 - Register $n of BLOCK7 (KEY3).

Source

pub fn rd_key3_data4(&self) -> &Reg<RD_KEY3_DATA4_SPEC>

0x10c - Register $n of BLOCK7 (KEY3).

Source

pub fn rd_key3_data5(&self) -> &Reg<RD_KEY3_DATA5_SPEC>

0x110 - Register $n of BLOCK7 (KEY3).

Source

pub fn rd_key3_data6(&self) -> &Reg<RD_KEY3_DATA6_SPEC>

0x114 - Register $n of BLOCK7 (KEY3).

Source

pub fn rd_key3_data7(&self) -> &Reg<RD_KEY3_DATA7_SPEC>

0x118 - Register $n of BLOCK7 (KEY3).

Source

pub fn rd_key4_data0(&self) -> &Reg<RD_KEY4_DATA0_SPEC>

0x11c - Register $n of BLOCK8 (KEY4).

Source

pub fn rd_key4_data1(&self) -> &Reg<RD_KEY4_DATA1_SPEC>

0x120 - Register $n of BLOCK8 (KEY4).

Source

pub fn rd_key4_data2(&self) -> &Reg<RD_KEY4_DATA2_SPEC>

0x124 - Register $n of BLOCK8 (KEY4).

Source

pub fn rd_key4_data3(&self) -> &Reg<RD_KEY4_DATA3_SPEC>

0x128 - Register $n of BLOCK8 (KEY4).

Source

pub fn rd_key4_data4(&self) -> &Reg<RD_KEY4_DATA4_SPEC>

0x12c - Register $n of BLOCK8 (KEY4).

Source

pub fn rd_key4_data5(&self) -> &Reg<RD_KEY4_DATA5_SPEC>

0x130 - Register $n of BLOCK8 (KEY4).

Source

pub fn rd_key4_data6(&self) -> &Reg<RD_KEY4_DATA6_SPEC>

0x134 - Register $n of BLOCK8 (KEY4).

Source

pub fn rd_key4_data7(&self) -> &Reg<RD_KEY4_DATA7_SPEC>

0x138 - Register $n of BLOCK8 (KEY4).

Source

pub fn rd_key5_data0(&self) -> &Reg<RD_KEY5_DATA0_SPEC>

0x13c - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_key5_data1(&self) -> &Reg<RD_KEY5_DATA1_SPEC>

0x140 - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_key5_data2(&self) -> &Reg<RD_KEY5_DATA2_SPEC>

0x144 - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_key5_data3(&self) -> &Reg<RD_KEY5_DATA3_SPEC>

0x148 - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_key5_data4(&self) -> &Reg<RD_KEY5_DATA4_SPEC>

0x14c - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_key5_data5(&self) -> &Reg<RD_KEY5_DATA5_SPEC>

0x150 - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_key5_data6(&self) -> &Reg<RD_KEY5_DATA6_SPEC>

0x154 - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_key5_data7(&self) -> &Reg<RD_KEY5_DATA7_SPEC>

0x158 - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_sys_part2_data0(&self) -> &Reg<RD_SYS_PART2_DATA0_SPEC>

0x15c - Register $n of BLOCK10 (system).

Source

pub fn rd_sys_part2_data1(&self) -> &Reg<RD_SYS_PART2_DATA1_SPEC>

0x160 - Register $n of BLOCK9 (KEY5).

Source

pub fn rd_sys_part2_data2(&self) -> &Reg<RD_SYS_PART2_DATA2_SPEC>

0x164 - Register $n of BLOCK10 (system).

Source

pub fn rd_sys_part2_data3(&self) -> &Reg<RD_SYS_PART2_DATA3_SPEC>

0x168 - Register $n of BLOCK10 (system).

Source

pub fn rd_sys_part2_data4(&self) -> &Reg<RD_SYS_PART2_DATA4_SPEC>

0x16c - Register $n of BLOCK10 (system).

Source

pub fn rd_sys_part2_data5(&self) -> &Reg<RD_SYS_PART2_DATA5_SPEC>

0x170 - Register $n of BLOCK10 (system).

Source

pub fn rd_sys_part2_data6(&self) -> &Reg<RD_SYS_PART2_DATA6_SPEC>

0x174 - Register $n of BLOCK10 (system).

Source

pub fn rd_sys_part2_data7(&self) -> &Reg<RD_SYS_PART2_DATA7_SPEC>

0x178 - Register $n of BLOCK10 (system).

Source

pub fn rd_repeat_err0(&self) -> &Reg<RD_REPEAT_ERR0_SPEC>

0x17c - Programming error record register 0 of BLOCK0.

Source

pub fn rd_repeat_err1(&self) -> &Reg<RD_REPEAT_ERR1_SPEC>

0x180 - Programming error record register 1 of BLOCK0.

Source

pub fn rd_repeat_err2(&self) -> &Reg<RD_REPEAT_ERR2_SPEC>

0x184 - Programming error record register 2 of BLOCK0.

Source

pub fn rd_repeat_err3(&self) -> &Reg<RD_REPEAT_ERR3_SPEC>

0x188 - Programming error record register 3 of BLOCK0.

Source

pub fn rd_repeat_err4(&self) -> &Reg<RD_REPEAT_ERR4_SPEC>

0x190 - Programming error record register 4 of BLOCK0.

Source

pub fn rd_rs_err0(&self) -> &Reg<RD_RS_ERR0_SPEC>

0x1c0 - Programming error record register 0 of BLOCK1-10.

Source

pub fn rd_rs_err1(&self) -> &Reg<RD_RS_ERR1_SPEC>

0x1c4 - Programming error record register 1 of BLOCK1-10.

Source

pub fn clk(&self) -> &Reg<CLK_SPEC>

0x1c8 - eFuse clcok configuration register.

Source

pub fn conf(&self) -> &Reg<CONF_SPEC>

0x1cc - eFuse operation mode configuraiton register

Source

pub fn status(&self) -> &Reg<STATUS_SPEC>

0x1d0 - eFuse status register.

Source

pub fn cmd(&self) -> &Reg<CMD_SPEC>

0x1d4 - eFuse command register.

Source

pub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>

0x1d8 - eFuse raw interrupt register.

Source

pub fn int_st(&self) -> &Reg<INT_ST_SPEC>

0x1dc - eFuse interrupt status register.

Source

pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>

0x1e0 - eFuse interrupt enable register.

Source

pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>

0x1e4 - eFuse interrupt clear register.

Source

pub fn dac_conf(&self) -> &Reg<DAC_CONF_SPEC>

0x1e8 - Controls the eFuse programming voltage.

Source

pub fn rd_tim_conf(&self) -> &Reg<RD_TIM_CONF_SPEC>

0x1ec - Configures read timing parameters.

Source

pub fn wr_tim_conf1(&self) -> &Reg<WR_TIM_CONF1_SPEC>

0x1f0 - Configurarion register 1 of eFuse programming timing parameters.

Source

pub fn wr_tim_conf2(&self) -> &Reg<WR_TIM_CONF2_SPEC>

0x1f4 - Configurarion register 2 of eFuse programming timing parameters.

Source

pub fn wr_tim_conf0_rs_bypass(&self) -> &Reg<WR_TIM_CONF0_RS_BYPASS_SPEC>

0x1f8 - Configurarion register0 of eFuse programming time parameters and rs bypass operation.

Source

pub fn date(&self) -> &Reg<DATE_SPEC>

0x1fc - eFuse version register.

Trait Implementations§

Source§

impl Debug for EFUSE

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Deref for EFUSE

Source§

type Target = <EFUSE as Deref>::Target

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<EFUSE as Deref>::Target

Dereferences the value.
Source§

impl DerefMut for EFUSE

Source§

fn deref_mut(&mut self) -> &mut <EFUSE as Deref>::Target

Mutably dereferences the value.
Source§

impl Peripheral for EFUSE

Source§

type P = EFUSE

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&mut self) -> <EFUSE as Peripheral>::P

Unsafely clone (duplicate) a peripheral singleton. Read more
Source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more

Auto Trait Implementations§

§

impl Freeze for EFUSE

§

impl RefUnwindSafe for EFUSE

§

impl Send for EFUSE

§

impl Sync for EFUSE

§

impl Unpin for EFUSE

§

impl UnwindSafe for EFUSE

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.