Struct mcxn947_pac::ELS
source · pub struct ELS { /* private fields */ }
Expand description
no description available
Implementations§
source§impl ELS
impl ELS
sourcepub const PTR: *const RegisterBlock = {0x40054000 as *const els::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40054000 as *const els::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 dma_src0_len(&self) -> &DMA_SRC0_LEN
pub fn dma_src0_len(&self) -> &DMA_SRC0_LEN
0x24 - DMA Source 0 Length Register
sourcepub fn dma_src2_len(&self) -> &DMA_SRC2_LEN
pub fn dma_src2_len(&self) -> &DMA_SRC2_LEN
0x34 - DMA Source 2 Length Register
sourcepub fn dma_res0_len(&self) -> &DMA_RES0_LEN
pub fn dma_res0_len(&self) -> &DMA_RES0_LEN
0x3c - DMA Result 0 Size Register
sourcepub fn int_enable(&self) -> &INT_ENABLE
pub fn int_enable(&self) -> &INT_ENABLE
0x40 - Interrupt Enable Register
sourcepub fn int_status_clr(&self) -> &INT_STATUS_CLR
pub fn int_status_clr(&self) -> &INT_STATUS_CLR
0x44 - Interrupt Status Clear Register
sourcepub fn int_status_set(&self) -> &INT_STATUS_SET
pub fn int_status_set(&self) -> &INT_STATUS_SET
0x48 - Interrupt Status Set Register
sourcepub fn err_status(&self) -> &ERR_STATUS
pub fn err_status(&self) -> &ERR_STATUS
0x4c - Error Status Register
sourcepub fn err_status_clr(&self) -> &ERR_STATUS_CLR
pub fn err_status_clr(&self) -> &ERR_STATUS_CLR
0x50 - Error Status Clear Register
sourcepub fn prng_datout(&self) -> &PRNG_DATOUT
pub fn prng_datout(&self) -> &PRNG_DATOUT
0x5c - PRNG SW Read Out Register
sourcepub fn cmdcrc_ctrl(&self) -> &CMDCRC_CTRL
pub fn cmdcrc_ctrl(&self) -> &CMDCRC_CTRL
0x60 - CRC Configuration Register
sourcepub fn session_id(&self) -> &SESSION_ID
pub fn session_id(&self) -> &SESSION_ID
0x68 - Session ID Register
sourcepub fn dma_fin_addr(&self) -> &DMA_FIN_ADDR
pub fn dma_fin_addr(&self) -> &DMA_FIN_ADDR
0x70 - Final DMA Address Register
sourcepub fn els_ks_iter(&self) -> impl Iterator<Item = &ELS_KS>
pub fn els_ks_iter(&self) -> impl Iterator<Item = &ELS_KS>
Iterator for array of: 0x150..0x1a0 - Status Register