pub struct OTP_DEBUG { /* private fields */ }
Expand description
OTP_DEBUG Peripheral
Implementations§
source§impl OTP_DEBUG
impl OTP_DEBUG
sourcepub const PTR: *const RegisterBlock = {0x600b3c00 as *const otp_debug::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x600b3c00 as *const otp_debug::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 blk0_backup1_w1(&self) -> &BLK0_BACKUP1_W1
pub fn blk0_backup1_w1(&self) -> &BLK0_BACKUP1_W1
0x04 - Otp debuger block0 data register2.
sourcepub fn blk0_backup1_w2(&self) -> &BLK0_BACKUP1_W2
pub fn blk0_backup1_w2(&self) -> &BLK0_BACKUP1_W2
0x08 - Otp debuger block0 data register3.
sourcepub fn blk0_backup1_w3(&self) -> &BLK0_BACKUP1_W3
pub fn blk0_backup1_w3(&self) -> &BLK0_BACKUP1_W3
0x0c - Otp debuger block0 data register4.
sourcepub fn blk0_backup1_w4(&self) -> &BLK0_BACKUP1_W4
pub fn blk0_backup1_w4(&self) -> &BLK0_BACKUP1_W4
0x10 - Otp debuger block0 data register5.
sourcepub fn blk0_backup1_w5(&self) -> &BLK0_BACKUP1_W5
pub fn blk0_backup1_w5(&self) -> &BLK0_BACKUP1_W5
0x14 - Otp debuger block0 data register6.
sourcepub fn blk0_backup2_w1(&self) -> &BLK0_BACKUP2_W1
pub fn blk0_backup2_w1(&self) -> &BLK0_BACKUP2_W1
0x18 - Otp debuger block0 data register7.
sourcepub fn blk0_backup2_w2(&self) -> &BLK0_BACKUP2_W2
pub fn blk0_backup2_w2(&self) -> &BLK0_BACKUP2_W2
0x1c - Otp debuger block0 data register8.
sourcepub fn blk0_backup2_w3(&self) -> &BLK0_BACKUP2_W3
pub fn blk0_backup2_w3(&self) -> &BLK0_BACKUP2_W3
0x20 - Otp debuger block0 data register9.
sourcepub fn blk0_backup2_w4(&self) -> &BLK0_BACKUP2_W4
pub fn blk0_backup2_w4(&self) -> &BLK0_BACKUP2_W4
0x24 - Otp debuger block0 data register10.
sourcepub fn blk0_backup2_w5(&self) -> &BLK0_BACKUP2_W5
pub fn blk0_backup2_w5(&self) -> &BLK0_BACKUP2_W5
0x28 - Otp debuger block0 data register11.
sourcepub fn blk0_backup3_w1(&self) -> &BLK0_BACKUP3_W1
pub fn blk0_backup3_w1(&self) -> &BLK0_BACKUP3_W1
0x2c - Otp debuger block0 data register12.
sourcepub fn blk0_backup3_w2(&self) -> &BLK0_BACKUP3_W2
pub fn blk0_backup3_w2(&self) -> &BLK0_BACKUP3_W2
0x30 - Otp debuger block0 data register13.
sourcepub fn blk0_backup3_w3(&self) -> &BLK0_BACKUP3_W3
pub fn blk0_backup3_w3(&self) -> &BLK0_BACKUP3_W3
0x34 - Otp debuger block0 data register14.
sourcepub fn blk0_backup3_w4(&self) -> &BLK0_BACKUP3_W4
pub fn blk0_backup3_w4(&self) -> &BLK0_BACKUP3_W4
0x38 - Otp debuger block0 data register15.
sourcepub fn blk0_backup3_w5(&self) -> &BLK0_BACKUP3_W5
pub fn blk0_backup3_w5(&self) -> &BLK0_BACKUP3_W5
0x3c - Otp debuger block0 data register16.
sourcepub fn blk0_backup4_w1(&self) -> &BLK0_BACKUP4_W1
pub fn blk0_backup4_w1(&self) -> &BLK0_BACKUP4_W1
0x40 - Otp debuger block0 data register17.
sourcepub fn blk0_backup4_w2(&self) -> &BLK0_BACKUP4_W2
pub fn blk0_backup4_w2(&self) -> &BLK0_BACKUP4_W2
0x44 - Otp debuger block0 data register18.
sourcepub fn blk0_backup4_w3(&self) -> &BLK0_BACKUP4_W3
pub fn blk0_backup4_w3(&self) -> &BLK0_BACKUP4_W3
0x48 - Otp debuger block0 data register19.
sourcepub fn blk0_backup4_w4(&self) -> &BLK0_BACKUP4_W4
pub fn blk0_backup4_w4(&self) -> &BLK0_BACKUP4_W4
0x4c - Otp debuger block0 data register20.
sourcepub fn blk0_backup4_w5(&self) -> &BLK0_BACKUP4_W5
pub fn blk0_backup4_w5(&self) -> &BLK0_BACKUP4_W5
0x50 - Otp debuger block0 data register21.
sourcepub fn apb2otp_en(&self) -> &APB2OTP_EN
pub fn apb2otp_en(&self) -> &APB2OTP_EN
0x208 - Otp_debuger apb2otp enable configuration register.