pub struct SENSITIVE { /* private fields */ }
Expand description
SENSITIVE Peripheral
Implementations§
Source§impl SENSITIVE
impl SENSITIVE
Sourcepub const PTR: *const RegisterBlock = {0x600c1000 as *const sensitive::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x600c1000 as *const sensitive::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 rom_table_lock(&self) -> &ROM_TABLE_LOCK
pub fn rom_table_lock(&self) -> &ROM_TABLE_LOCK
0x00 - register description
Sourcepub fn apb_peripheral_access_0(&self) -> &APB_PERIPHERAL_ACCESS_0
pub fn apb_peripheral_access_0(&self) -> &APB_PERIPHERAL_ACCESS_0
0x08 - register description
Sourcepub fn apb_peripheral_access_1(&self) -> &APB_PERIPHERAL_ACCESS_1
pub fn apb_peripheral_access_1(&self) -> &APB_PERIPHERAL_ACCESS_1
0x0c - register description
Sourcepub fn internal_sram_usage_0(&self) -> &INTERNAL_SRAM_USAGE_0
pub fn internal_sram_usage_0(&self) -> &INTERNAL_SRAM_USAGE_0
0x10 - register description
Sourcepub fn internal_sram_usage_1(&self) -> &INTERNAL_SRAM_USAGE_1
pub fn internal_sram_usage_1(&self) -> &INTERNAL_SRAM_USAGE_1
0x14 - register description
Sourcepub fn internal_sram_usage_3(&self) -> &INTERNAL_SRAM_USAGE_3
pub fn internal_sram_usage_3(&self) -> &INTERNAL_SRAM_USAGE_3
0x18 - register description
Sourcepub fn cache_tag_access_0(&self) -> &CACHE_TAG_ACCESS_0
pub fn cache_tag_access_0(&self) -> &CACHE_TAG_ACCESS_0
0x1c - register description
Sourcepub fn cache_tag_access_1(&self) -> &CACHE_TAG_ACCESS_1
pub fn cache_tag_access_1(&self) -> &CACHE_TAG_ACCESS_1
0x20 - register description
Sourcepub fn cache_mmu_access_0(&self) -> &CACHE_MMU_ACCESS_0
pub fn cache_mmu_access_0(&self) -> &CACHE_MMU_ACCESS_0
0x24 - register description
Sourcepub fn cache_mmu_access_1(&self) -> &CACHE_MMU_ACCESS_1
pub fn cache_mmu_access_1(&self) -> &CACHE_MMU_ACCESS_1
0x28 - register description
Sourcepub fn pif_access_monitor_0(&self) -> &PIF_ACCESS_MONITOR_0
pub fn pif_access_monitor_0(&self) -> &PIF_ACCESS_MONITOR_0
0x2c - register description
Sourcepub fn pif_access_monitor_1(&self) -> &PIF_ACCESS_MONITOR_1
pub fn pif_access_monitor_1(&self) -> &PIF_ACCESS_MONITOR_1
0x30 - register description
Sourcepub fn pif_access_monitor_2(&self) -> &PIF_ACCESS_MONITOR_2
pub fn pif_access_monitor_2(&self) -> &PIF_ACCESS_MONITOR_2
0x34 - register description
Sourcepub fn pif_access_monitor_3(&self) -> &PIF_ACCESS_MONITOR_3
pub fn pif_access_monitor_3(&self) -> &PIF_ACCESS_MONITOR_3
0x38 - register description
Sourcepub fn xts_aes_key_update(&self) -> &XTS_AES_KEY_UPDATE
pub fn xts_aes_key_update(&self) -> &XTS_AES_KEY_UPDATE
0x3c - register description
Sourcepub fn clock_gate(&self) -> &CLOCK_GATE
pub fn clock_gate(&self) -> &CLOCK_GATE
0x40 - register description
Sourcepub fn sensitive_reg_date(&self) -> &SENSITIVE_REG_DATE
pub fn sensitive_reg_date(&self) -> &SENSITIVE_REG_DATE
0xffc - register description