Struct mcxn947_pac::PUF
source · pub struct PUF { /* private fields */ }
Expand description
PUF
Implementations§
source§impl PUF
impl PUF
sourcepub const PTR: *const RegisterBlock = {0x4002c000 as *const puf::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x4002c000 as *const puf::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 sram_status(&self) -> &SRAM_STATUS
pub fn sram_status(&self) -> &SRAM_STATUS
0x304 - Status
sourcepub fn sram_int_clr_enable(&self) -> &SRAM_INT_CLR_ENABLE
pub fn sram_int_clr_enable(&self) -> &SRAM_INT_CLR_ENABLE
0x3d8 - Interrupt Enable Clear
sourcepub fn sram_int_set_enable(&self) -> &SRAM_INT_SET_ENABLE
pub fn sram_int_set_enable(&self) -> &SRAM_INT_SET_ENABLE
0x3dc - Interrupt Enable Set
sourcepub fn sram_int_status(&self) -> &SRAM_INT_STATUS
pub fn sram_int_status(&self) -> &SRAM_INT_STATUS
0x3e0 - Interrupt Status
sourcepub fn sram_int_enable(&self) -> &SRAM_INT_ENABLE
pub fn sram_int_enable(&self) -> &SRAM_INT_ENABLE
0x3e4 - Interrupt Enable
sourcepub fn sram_int_clr_status(&self) -> &SRAM_INT_CLR_STATUS
pub fn sram_int_clr_status(&self) -> &SRAM_INT_CLR_STATUS
0x3e8 - Interrupt Status Clear
sourcepub fn sram_int_set_status(&self) -> &SRAM_INT_SET_STATUS
pub fn sram_int_set_status(&self) -> &SRAM_INT_SET_STATUS
0x3ec - Interrupt Status set