Struct esp32::EFUSE

source ·
pub struct EFUSE { /* private fields */ }
Expand description

eFuse Controller

Implementations§

source§

impl EFUSE

source

pub const PTR: *const RegisterBlock = {0x3ff5a000 as *const efuse::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

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

source

pub fn blk0_rdata0(&self) -> &BLK0_RDATA0

0x00 -

source

pub fn blk0_rdata1(&self) -> &BLK0_RDATA1

0x04 -

source

pub fn blk0_rdata2(&self) -> &BLK0_RDATA2

0x08 -

source

pub fn blk0_rdata3(&self) -> &BLK0_RDATA3

0x0c -

source

pub fn blk0_rdata4(&self) -> &BLK0_RDATA4

0x10 -

source

pub fn blk0_rdata5(&self) -> &BLK0_RDATA5

0x14 -

source

pub fn blk0_rdata6(&self) -> &BLK0_RDATA6

0x18 -

source

pub fn blk0_wdata0(&self) -> &BLK0_WDATA0

0x1c -

source

pub fn blk0_wdata1(&self) -> &BLK0_WDATA1

0x20 -

source

pub fn blk0_wdata2(&self) -> &BLK0_WDATA2

0x24 -

source

pub fn blk0_wdata3(&self) -> &BLK0_WDATA3

0x28 -

source

pub fn blk0_wdata4(&self) -> &BLK0_WDATA4

0x2c -

source

pub fn blk0_wdata5(&self) -> &BLK0_WDATA5

0x30 -

source

pub fn blk0_wdata6(&self) -> &BLK0_WDATA6

0x34 -

source

pub fn blk1_rdata0(&self) -> &BLK1_RDATA0

0x38 -

source

pub fn blk1_rdata1(&self) -> &BLK1_RDATA1

0x3c -

source

pub fn blk1_rdata2(&self) -> &BLK1_RDATA2

0x40 -

source

pub fn blk1_rdata3(&self) -> &BLK1_RDATA3

0x44 -

source

pub fn blk1_rdata4(&self) -> &BLK1_RDATA4

0x48 -

source

pub fn blk1_rdata5(&self) -> &BLK1_RDATA5

0x4c -

source

pub fn blk1_rdata6(&self) -> &BLK1_RDATA6

0x50 -

source

pub fn blk1_rdata7(&self) -> &BLK1_RDATA7

0x54 -

source

pub fn blk2_rdata0(&self) -> &BLK2_RDATA0

0x58 -

source

pub fn blk2_rdata1(&self) -> &BLK2_RDATA1

0x5c -

source

pub fn blk2_rdata2(&self) -> &BLK2_RDATA2

0x60 -

source

pub fn blk2_rdata3(&self) -> &BLK2_RDATA3

0x64 -

source

pub fn blk2_rdata4(&self) -> &BLK2_RDATA4

0x68 -

source

pub fn blk2_rdata5(&self) -> &BLK2_RDATA5

0x6c -

source

pub fn blk2_rdata6(&self) -> &BLK2_RDATA6

0x70 -

source

pub fn blk2_rdata7(&self) -> &BLK2_RDATA7

0x74 -

source

pub fn blk3_rdata0(&self) -> &BLK3_RDATA0

0x78 -

source

pub fn blk3_rdata1(&self) -> &BLK3_RDATA1

0x7c -

source

pub fn blk3_rdata2(&self) -> &BLK3_RDATA2

0x80 -

source

pub fn blk3_rdata3(&self) -> &BLK3_RDATA3

0x84 -

source

pub fn blk3_rdata4(&self) -> &BLK3_RDATA4

0x88 -

source

pub fn blk3_rdata5(&self) -> &BLK3_RDATA5

0x8c -

source

pub fn blk3_rdata6(&self) -> &BLK3_RDATA6

0x90 -

source

pub fn blk3_rdata7(&self) -> &BLK3_RDATA7

0x94 -

source

pub fn blk1_wdata0(&self) -> &BLK1_WDATA0

0x98 -

source

pub fn blk1_wdata1(&self) -> &BLK1_WDATA1

0x9c -

source

pub fn blk1_wdata2(&self) -> &BLK1_WDATA2

0xa0 -

source

pub fn blk1_wdata3(&self) -> &BLK1_WDATA3

0xa4 -

source

pub fn blk1_wdata4(&self) -> &BLK1_WDATA4

0xa8 -

source

pub fn blk1_wdata5(&self) -> &BLK1_WDATA5

0xac -

source

pub fn blk1_wdata6(&self) -> &BLK1_WDATA6

0xb0 -

source

pub fn blk1_wdata7(&self) -> &BLK1_WDATA7

0xb4 -

source

pub fn blk2_wdata0(&self) -> &BLK2_WDATA0

0xb8 -

source

pub fn blk2_wdata1(&self) -> &BLK2_WDATA1

0xbc -

source

pub fn blk2_wdata2(&self) -> &BLK2_WDATA2

0xc0 -

source

pub fn blk2_wdata3(&self) -> &BLK2_WDATA3

0xc4 -

source

pub fn blk2_wdata4(&self) -> &BLK2_WDATA4

0xc8 -

source

pub fn blk2_wdata5(&self) -> &BLK2_WDATA5

0xcc -

source

pub fn blk2_wdata6(&self) -> &BLK2_WDATA6

0xd0 -

source

pub fn blk2_wdata7(&self) -> &BLK2_WDATA7

0xd4 -

source

pub fn blk3_wdata0(&self) -> &BLK3_WDATA0

0xd8 -

source

pub fn blk3_wdata1(&self) -> &BLK3_WDATA1

0xdc -

source

pub fn blk3_wdata2(&self) -> &BLK3_WDATA2

0xe0 -

source

pub fn blk3_wdata3(&self) -> &BLK3_WDATA3

0xe4 -

source

pub fn blk3_wdata4(&self) -> &BLK3_WDATA4

0xe8 -

source

pub fn blk3_wdata5(&self) -> &BLK3_WDATA5

0xec -

source

pub fn blk3_wdata6(&self) -> &BLK3_WDATA6

0xf0 -

source

pub fn blk3_wdata7(&self) -> &BLK3_WDATA7

0xf4 -

source

pub fn clk(&self) -> &CLK

0xf8 -

source

pub fn conf(&self) -> &CONF

0xfc -

source

pub fn status(&self) -> &STATUS

0x100 -

source

pub fn cmd(&self) -> &CMD

0x104 -

source

pub fn int_raw(&self) -> &INT_RAW

0x108 -

source

pub fn int_st(&self) -> &INT_ST

0x10c -

source

pub fn int_ena(&self) -> &INT_ENA

0x110 -

source

pub fn int_clr(&self) -> &INT_CLR

0x114 -

source

pub fn dac_conf(&self) -> &DAC_CONF

0x118 -

source

pub fn dec_status(&self) -> &DEC_STATUS

0x11c -

source

pub fn date(&self) -> &DATE

0x1fc -

Trait Implementations§

source§

impl Debug for EFUSE

source§

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

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

impl Deref for EFUSE

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for EFUSE

Auto Trait Implementations§

§

impl RefUnwindSafe 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.