Struct esp32c6::OTP_DEBUG

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

OTP_DEBUG Peripheral

Implementations§

source§

impl OTP_DEBUG

source

pub const PTR: *const RegisterBlock = {0x600b3c00 as *const otp_debug::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 wr_dis(&self) -> &WR_DIS

0x00 - Otp debuger block0 data register1.

source

pub fn blk0_backup1_w1(&self) -> &BLK0_BACKUP1_W1

0x04 - Otp debuger block0 data register2.

source

pub fn blk0_backup1_w2(&self) -> &BLK0_BACKUP1_W2

0x08 - Otp debuger block0 data register3.

source

pub fn blk0_backup1_w3(&self) -> &BLK0_BACKUP1_W3

0x0c - Otp debuger block0 data register4.

source

pub fn blk0_backup1_w4(&self) -> &BLK0_BACKUP1_W4

0x10 - Otp debuger block0 data register5.

source

pub fn blk0_backup1_w5(&self) -> &BLK0_BACKUP1_W5

0x14 - Otp debuger block0 data register6.

source

pub fn blk0_backup2_w1(&self) -> &BLK0_BACKUP2_W1

0x18 - Otp debuger block0 data register7.

source

pub fn blk0_backup2_w2(&self) -> &BLK0_BACKUP2_W2

0x1c - Otp debuger block0 data register8.

source

pub fn blk0_backup2_w3(&self) -> &BLK0_BACKUP2_W3

0x20 - Otp debuger block0 data register9.

source

pub fn blk0_backup2_w4(&self) -> &BLK0_BACKUP2_W4

0x24 - Otp debuger block0 data register10.

source

pub fn blk0_backup2_w5(&self) -> &BLK0_BACKUP2_W5

0x28 - Otp debuger block0 data register11.

source

pub fn blk0_backup3_w1(&self) -> &BLK0_BACKUP3_W1

0x2c - Otp debuger block0 data register12.

source

pub fn blk0_backup3_w2(&self) -> &BLK0_BACKUP3_W2

0x30 - Otp debuger block0 data register13.

source

pub fn blk0_backup3_w3(&self) -> &BLK0_BACKUP3_W3

0x34 - Otp debuger block0 data register14.

source

pub fn blk0_backup3_w4(&self) -> &BLK0_BACKUP3_W4

0x38 - Otp debuger block0 data register15.

source

pub fn blk0_backup3_w5(&self) -> &BLK0_BACKUP3_W5

0x3c - Otp debuger block0 data register16.

source

pub fn blk0_backup4_w1(&self) -> &BLK0_BACKUP4_W1

0x40 - Otp debuger block0 data register17.

source

pub fn blk0_backup4_w2(&self) -> &BLK0_BACKUP4_W2

0x44 - Otp debuger block0 data register18.

source

pub fn blk0_backup4_w3(&self) -> &BLK0_BACKUP4_W3

0x48 - Otp debuger block0 data register19.

source

pub fn blk0_backup4_w4(&self) -> &BLK0_BACKUP4_W4

0x4c - Otp debuger block0 data register20.

source

pub fn blk0_backup4_w5(&self) -> &BLK0_BACKUP4_W5

0x50 - Otp debuger block0 data register21.

source

pub fn blk1_w1(&self) -> &BLK1_W1

0x54 - Otp debuger block1 data register1.

source

pub fn blk1_w2(&self) -> &BLK1_W2

0x58 - Otp debuger block1 data register2.

source

pub fn blk1_w3(&self) -> &BLK1_W3

0x5c - Otp debuger block1 data register3.

source

pub fn blk1_w4(&self) -> &BLK1_W4

0x60 - Otp debuger block1 data register4.

source

pub fn blk1_w5(&self) -> &BLK1_W5

0x64 - Otp debuger block1 data register5.

source

pub fn blk1_w6(&self) -> &BLK1_W6

0x68 - Otp debuger block1 data register6.

source

pub fn blk1_w7(&self) -> &BLK1_W7

0x6c - Otp debuger block1 data register7.

source

pub fn blk1_w8(&self) -> &BLK1_W8

0x70 - Otp debuger block1 data register8.

source

pub fn blk1_w9(&self) -> &BLK1_W9

0x74 - Otp debuger block1 data register9.

source

pub fn blk2_w1(&self) -> &BLK2_W1

0x78 - Otp debuger block2 data register1.

source

pub fn blk2_w2(&self) -> &BLK2_W2

0x7c - Otp debuger block2 data register2.

source

pub fn blk2_w3(&self) -> &BLK2_W3

0x80 - Otp debuger block2 data register3.

source

pub fn blk2_w4(&self) -> &BLK2_W4

0x84 - Otp debuger block2 data register4.

source

pub fn blk2_w5(&self) -> &BLK2_W5

0x88 - Otp debuger block2 data register5.

source

pub fn blk2_w6(&self) -> &BLK2_W6

0x8c - Otp debuger block2 data register6.

source

pub fn blk2_w7(&self) -> &BLK2_W7

0x90 - Otp debuger block2 data register7.

source

pub fn blk2_w8(&self) -> &BLK2_W8

0x94 - Otp debuger block2 data register8.

source

pub fn blk2_w9(&self) -> &BLK2_W9

0x98 - Otp debuger block2 data register9.

source

pub fn blk2_w10(&self) -> &BLK2_W10

0x9c - Otp debuger block2 data register10.

source

pub fn blk2_w11(&self) -> &BLK2_W11

0xa0 - Otp debuger block2 data register11.

source

pub fn blk3_w1(&self) -> &BLK3_W1

0xa4 - Otp debuger block3 data register1.

source

pub fn blk3_w2(&self) -> &BLK3_W2

0xa8 - Otp debuger block3 data register2.

source

pub fn blk3_w3(&self) -> &BLK3_W3

0xac - Otp debuger block3 data register3.

source

pub fn blk3_w4(&self) -> &BLK3_W4

0xb0 - Otp debuger block3 data register4.

source

pub fn blk3_w5(&self) -> &BLK3_W5

0xb4 - Otp debuger block3 data register5.

source

pub fn blk3_w6(&self) -> &BLK3_W6

0xb8 - Otp debuger block3 data register6.

source

pub fn blk3_w7(&self) -> &BLK3_W7

0xbc - Otp debuger block3 data register7.

source

pub fn blk3_w8(&self) -> &BLK3_W8

0xc0 - Otp debuger block3 data register8.

source

pub fn blk3_w9(&self) -> &BLK3_W9

0xc4 - Otp debuger block3 data register9.

source

pub fn blk3_w10(&self) -> &BLK3_W10

0xc8 - Otp debuger block3 data register10.

source

pub fn blk3_w11(&self) -> &BLK3_W11

0xcc - Otp debuger block3 data register11.

source

pub fn blk4_w1(&self) -> &BLK4_W1

0xd0 - Otp debuger block4 data register1.

source

pub fn blk4_w2(&self) -> &BLK4_W2

0xd4 - Otp debuger block4 data register2.

source

pub fn blk4_w3(&self) -> &BLK4_W3

0xd8 - Otp debuger block4 data register3.

source

pub fn blk4_w4(&self) -> &BLK4_W4

0xdc - Otp debuger block4 data register4.

source

pub fn blk4_w5(&self) -> &BLK4_W5

0xe0 - Otp debuger block4 data register5.

source

pub fn blk4_w6(&self) -> &BLK4_W6

0xe4 - Otp debuger block4 data register6.

source

pub fn blk4_w7(&self) -> &BLK4_W7

0xe8 - Otp debuger block4 data register7.

source

pub fn blk4_w8(&self) -> &BLK4_W8

0xec - Otp debuger block4 data register8.

source

pub fn blk4_w9(&self) -> &BLK4_W9

0xf0 - Otp debuger block4 data register9.

source

pub fn blk4_w10(&self) -> &BLK4_W10

0xf4 - Otp debuger block4 data registe10.

source

pub fn blk4_w11(&self) -> &BLK4_W11

0xf8 - Otp debuger block4 data register11.

source

pub fn blk5_w1(&self) -> &BLK5_W1

0xfc - Otp debuger block5 data register1.

source

pub fn blk5_w2(&self) -> &BLK5_W2

0x100 - Otp debuger block5 data register2.

source

pub fn blk5_w3(&self) -> &BLK5_W3

0x104 - Otp debuger block5 data register3.

source

pub fn blk5_w4(&self) -> &BLK5_W4

0x108 - Otp debuger block5 data register4.

source

pub fn blk5_w5(&self) -> &BLK5_W5

0x10c - Otp debuger block5 data register5.

source

pub fn blk5_w6(&self) -> &BLK5_W6

0x110 - Otp debuger block5 data register6.

source

pub fn blk5_w7(&self) -> &BLK5_W7

0x114 - Otp debuger block5 data register7.

source

pub fn blk5_w8(&self) -> &BLK5_W8

0x118 - Otp debuger block5 data register8.

source

pub fn blk5_w9(&self) -> &BLK5_W9

0x11c - Otp debuger block5 data register9.

source

pub fn blk5_w10(&self) -> &BLK5_W10

0x120 - Otp debuger block5 data register10.

source

pub fn blk5_w11(&self) -> &BLK5_W11

0x124 - Otp debuger block5 data register11.

source

pub fn blk6_w1(&self) -> &BLK6_W1

0x128 - Otp debuger block6 data register1.

source

pub fn blk6_w2(&self) -> &BLK6_W2

0x12c - Otp debuger block6 data register2.

source

pub fn blk6_w3(&self) -> &BLK6_W3

0x130 - Otp debuger block6 data register3.

source

pub fn blk6_w4(&self) -> &BLK6_W4

0x134 - Otp debuger block6 data register4.

source

pub fn blk6_w5(&self) -> &BLK6_W5

0x138 - Otp debuger block6 data register5.

source

pub fn blk6_w6(&self) -> &BLK6_W6

0x13c - Otp debuger block6 data register6.

source

pub fn blk6_w7(&self) -> &BLK6_W7

0x140 - Otp debuger block6 data register7.

source

pub fn blk6_w8(&self) -> &BLK6_W8

0x144 - Otp debuger block6 data register8.

source

pub fn blk6_w9(&self) -> &BLK6_W9

0x148 - Otp debuger block6 data register9.

source

pub fn blk6_w10(&self) -> &BLK6_W10

0x14c - Otp debuger block6 data register10.

source

pub fn blk6_w11(&self) -> &BLK6_W11

0x150 - Otp debuger block6 data register11.

source

pub fn blk7_w1(&self) -> &BLK7_W1

0x154 - Otp debuger block7 data register1.

source

pub fn blk7_w2(&self) -> &BLK7_W2

0x158 - Otp debuger block7 data register2.

source

pub fn blk7_w3(&self) -> &BLK7_W3

0x15c - Otp debuger block7 data register3.

source

pub fn blk7_w4(&self) -> &BLK7_W4

0x160 - Otp debuger block7 data register4.

source

pub fn blk7_w5(&self) -> &BLK7_W5

0x164 - Otp debuger block7 data register5.

source

pub fn blk7_w6(&self) -> &BLK7_W6

0x168 - Otp debuger block7 data register6.

source

pub fn blk7_w7(&self) -> &BLK7_W7

0x16c - Otp debuger block7 data register7.

source

pub fn blk7_w8(&self) -> &BLK7_W8

0x170 - Otp debuger block7 data register8.

source

pub fn blk7_w9(&self) -> &BLK7_W9

0x174 - Otp debuger block7 data register9.

source

pub fn blk7_w10(&self) -> &BLK7_W10

0x178 - Otp debuger block7 data register10.

source

pub fn blk7_w11(&self) -> &BLK7_W11

0x17c - Otp debuger block7 data register11.

source

pub fn blk8_w1(&self) -> &BLK8_W1

0x180 - Otp debuger block8 data register1.

source

pub fn blk8_w2(&self) -> &BLK8_W2

0x184 - Otp debuger block8 data register2.

source

pub fn blk8_w3(&self) -> &BLK8_W3

0x188 - Otp debuger block8 data register3.

source

pub fn blk8_w4(&self) -> &BLK8_W4

0x18c - Otp debuger block8 data register4.

source

pub fn blk8_w5(&self) -> &BLK8_W5

0x190 - Otp debuger block8 data register5.

source

pub fn blk8_w6(&self) -> &BLK8_W6

0x194 - Otp debuger block8 data register6.

source

pub fn blk8_w7(&self) -> &BLK8_W7

0x198 - Otp debuger block8 data register7.

source

pub fn blk8_w8(&self) -> &BLK8_W8

0x19c - Otp debuger block8 data register8.

source

pub fn blk8_w9(&self) -> &BLK8_W9

0x1a0 - Otp debuger block8 data register9.

source

pub fn blk8_w10(&self) -> &BLK8_W10

0x1a4 - Otp debuger block8 data register10.

source

pub fn blk8_w11(&self) -> &BLK8_W11

0x1a8 - Otp debuger block8 data register11.

source

pub fn blk9_w1(&self) -> &BLK9_W1

0x1ac - Otp debuger block9 data register1.

source

pub fn blk9_w2(&self) -> &BLK9_W2

0x1b0 - Otp debuger block9 data register2.

source

pub fn blk9_w3(&self) -> &BLK9_W3

0x1b4 - Otp debuger block9 data register3.

source

pub fn blk9_w4(&self) -> &BLK9_W4

0x1b8 - Otp debuger block9 data register4.

source

pub fn blk9_w5(&self) -> &BLK9_W5

0x1bc - Otp debuger block9 data register5.

source

pub fn blk9_w6(&self) -> &BLK9_W6

0x1c0 - Otp debuger block9 data register6.

source

pub fn blk9_w7(&self) -> &BLK9_W7

0x1c4 - Otp debuger block9 data register7.

source

pub fn blk9_w8(&self) -> &BLK9_W8

0x1c8 - Otp debuger block9 data register8.

source

pub fn blk9_w9(&self) -> &BLK9_W9

0x1cc - Otp debuger block9 data register9.

source

pub fn blk9_w10(&self) -> &BLK9_W10

0x1d0 - Otp debuger block9 data register10.

source

pub fn blk9_w11(&self) -> &BLK9_W11

0x1d4 - Otp debuger block9 data register11.

source

pub fn blk10_w1(&self) -> &BLK10_W1

0x1d8 - Otp debuger block10 data register1.

source

pub fn blk10_w2(&self) -> &BLK10_W2

0x1dc - Otp debuger block10 data register2.

source

pub fn blk10_w3(&self) -> &BLK10_W3

0x1e0 - Otp debuger block10 data register3.

source

pub fn blk10_w4(&self) -> &BLK10_W4

0x1e4 - Otp debuger block10 data register4.

source

pub fn blk10_w5(&self) -> &BLK10_W5

0x1e8 - Otp debuger block10 data register5.

source

pub fn blk10_w6(&self) -> &BLK10_W6

0x1ec - Otp debuger block10 data register6.

source

pub fn blk10_w7(&self) -> &BLK10_W7

0x1f0 - Otp debuger block10 data register7.

source

pub fn blk10_w8(&self) -> &BLK10_W8

0x1f4 - Otp debuger block10 data register8.

source

pub fn blk10_w9(&self) -> &BLK10_W9

0x1f8 - Otp debuger block10 data register9.

source

pub fn blk10_w10(&self) -> &BLK10_W10

0x1fc - Otp debuger block10 data register10.

source

pub fn blk10_w11(&self) -> &BLK10_W11

0x200 - Otp debuger block10 data register11.

source

pub fn clk(&self) -> &CLK

0x204 - Otp debuger clk_en configuration register.

source

pub fn apb2otp_en(&self) -> &APB2OTP_EN

0x208 - Otp_debuger apb2otp enable configuration register.

source

pub fn date(&self) -> &DATE

0x20c - eFuse version register.

Trait Implementations§

source§

impl Debug for OTP_DEBUG

source§

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

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

impl Deref for OTP_DEBUG

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl Send for OTP_DEBUG

Auto Trait Implementations§

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.