pub struct EFUSE { /* private fields */ }

Implementations§

source§

impl EFUSE

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 PTR: *const <EFUSE as Deref>::Target = {0x3f41a000 as *const <esp32s2::EFUSE as core::ops::Deref>::Target}

Pointer to the register block

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_data(&self, n: usize) -> &Reg<PGM_DATA_SPEC>

0x00..0x20 - Register %s that stores data to be programmed.

source

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.

source

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.

source

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.

source

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

0x2c - Register 0 of BLOCK0.

source

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

0x30 - Register 1 of BLOCK0.

source

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

0x34 - Register 2 of BLOCK0.

source

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

0x38 - Register 3 of BLOCK0.

source

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

0x3c - Register 4 of BLOCK0.

source

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

0x40 - Register 5 of BLOCK0.

source

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

0x44 - Register 0 of BLOCK1.

source

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

0x48 - Register 1 of BLOCK1.

source

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

0x4c - Register 2 of BLOCK1.

source

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

0x50 - Register 3 of BLOCK1.

source

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

0x54 - Register 4 of BLOCK1.

source

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

0x58 - Register 5 of BLOCK1.

source

pub fn rd_sys_data_part1_(&self, n: usize) -> &Reg<RD_SYS_DATA_PART1__SPEC>

0x5c..0x7c - Register %s of BLOCK2 (system).

source

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).

source

pub fn rd_usr_data(&self, n: usize) -> &Reg<RD_USR_DATA_SPEC>

0x7c..0x9c - Register %s of BLOCK3 (user).

source

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).

source

pub fn rd_key0_data(&self, n: usize) -> &Reg<RD_KEY0_DATA_SPEC>

0x9c..0xbc - Register %s of BLOCK4 (KEY0).

source

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).

source

pub fn rd_key1_data(&self, n: usize) -> &Reg<RD_KEY1_DATA_SPEC>

0xbc..0xdc - Register %s of BLOCK5 (KEY1).

source

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).

source

pub fn rd_key2_data(&self, n: usize) -> &Reg<RD_KEY2_DATA_SPEC>

0xdc..0xfc - Register %s of BLOCK6 (KEY2).

source

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).

source

pub fn rd_key3_data(&self, n: usize) -> &Reg<RD_KEY3_DATA_SPEC>

0xfc..0x11c - Register %s of BLOCK7 (KEY3).

source

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).

source

pub fn rd_key4_data(&self, n: usize) -> &Reg<RD_KEY4_DATA_SPEC>

0x11c..0x13c - Register %s of BLOCK8 (KEY4).

source

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).

source

pub fn rd_key5_data(&self, n: usize) -> &Reg<RD_KEY5_DATA_SPEC>

0x13c..0x15c - Register %s of BLOCK9 (KEY5).

source

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).

source

pub fn rd_sys_data_part2_(&self, n: usize) -> &Reg<RD_SYS_DATA_PART2__SPEC>

0x15c..0x17c - Register %s of BLOCK10 (system).

source

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).

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 clock configuration register.

source

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

0x1cc - eFuse operation mode configuration 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_conf0(&self) -> &Reg<WR_TIM_CONF0_SPEC>

0x1f0 - Configuration register 0 of eFuse programming timing parameters.

source

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

0x1f4 - Configuration register 1 of eFuse programming timing parameters.

source

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

0x1f8 - Configuration register 2 of eFuse programming timing parameters.

source

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

0x1fc - Version control 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

§

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

§

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 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<T, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.