Struct mcxn947_pac::EIM0
source · pub struct EIM0 { /* private fields */ }
Expand description
EIM
Implementations§
source§impl EIM0
impl EIM0
sourcepub const PTR: *const RegisterBlock = {0x4005b000 as *const eim0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x4005b000 as *const eim0::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 eichd0_word0(&self) -> &EICHD0_WORD0
pub fn eichd0_word0(&self) -> &EICHD0_WORD0
0x100 - Error Injection Channel Descriptor 0, Word0
sourcepub fn eichd0_word1(&self) -> &EICHD0_WORD1
pub fn eichd0_word1(&self) -> &EICHD0_WORD1
0x104 - Error Injection Channel Descriptor 0, Word1
sourcepub fn eichd(&self, n: usize) -> &EICHD
pub fn eichd(&self, n: usize) -> &EICHD
0x140..0x170 - Cluster EICHD%s, containing EICHD[123456]_WORD0, EICHD[123456]_WORD1
sourcepub fn eichd_iter(&self) -> impl Iterator<Item = &EICHD>
pub fn eichd_iter(&self) -> impl Iterator<Item = &EICHD>
Iterator for array of: 0x140..0x170 - Cluster EICHD%s, containing EICHD[123456]_WORD0, EICHD[123456]_WORD1
sourcepub fn eichd1(&self) -> &EICHD
pub fn eichd1(&self) -> &EICHD
0x140..0x148 - Cluster EICHD1, containing EICHD[123456]_WORD0, EICHD[123456]_WORD1
sourcepub fn eichd2(&self) -> &EICHD
pub fn eichd2(&self) -> &EICHD
0x180..0x188 - Cluster EICHD2, containing EICHD[123456]_WORD0, EICHD[123456]_WORD1
sourcepub fn eichd3(&self) -> &EICHD
pub fn eichd3(&self) -> &EICHD
0x1c0..0x1c8 - Cluster EICHD3, containing EICHD[123456]_WORD0, EICHD[123456]_WORD1
sourcepub fn eichd4(&self) -> &EICHD
pub fn eichd4(&self) -> &EICHD
0x200..0x208 - Cluster EICHD4, containing EICHD[123456]_WORD0, EICHD[123456]_WORD1
sourcepub fn eichd5(&self) -> &EICHD
pub fn eichd5(&self) -> &EICHD
0x240..0x248 - Cluster EICHD5, containing EICHD[123456]_WORD0, EICHD[123456]_WORD1
sourcepub fn eichd6(&self) -> &EICHD
pub fn eichd6(&self) -> &EICHD
0x280..0x288 - Cluster EICHD6, containing EICHD[123456]_WORD0, EICHD[123456]_WORD1
sourcepub fn eichd7_word0(&self) -> &EICHD7_WORD0
pub fn eichd7_word0(&self) -> &EICHD7_WORD0
0x2c0 - Error Injection Channel Descriptor 7, Word0
sourcepub fn eichd7_word1(&self) -> &EICHD7_WORD1
pub fn eichd7_word1(&self) -> &EICHD7_WORD1
0x2c4 - Error Injection Channel Descriptor 7, Word1
sourcepub fn eichd8_word0(&self) -> &EICHD8_WORD0
pub fn eichd8_word0(&self) -> &EICHD8_WORD0
0x300 - Error Injection Channel Descriptor 8, Word0
sourcepub fn eichd8_word1(&self) -> &EICHD8_WORD1
pub fn eichd8_word1(&self) -> &EICHD8_WORD1
0x304 - Error Injection Channel Descriptor 8, Word1