pub struct ECC { /* private fields */ }
Expand description
ECC (ECC Hardware Accelerator)
Implementations§
Source§impl ECC
impl ECC
Sourcepub const PTR: *const RegisterBlock = {0x6003e000 as *const ecc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x6003e000 as *const ecc::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 mult_int_raw(&self) -> &MULT_INT_RAW
pub fn mult_int_raw(&self) -> &MULT_INT_RAW
0x0c - I2S interrupt raw register, valid in level.
Sourcepub fn mult_int_st(&self) -> &MULT_INT_ST
pub fn mult_int_st(&self) -> &MULT_INT_ST
0x10 - I2S interrupt status register.
Sourcepub fn mult_int_ena(&self) -> &MULT_INT_ENA
pub fn mult_int_ena(&self) -> &MULT_INT_ENA
0x14 - I2S interrupt enable register.
Sourcepub fn mult_int_clr(&self) -> &MULT_INT_CLR
pub fn mult_int_clr(&self) -> &MULT_INT_CLR
0x18 - I2S interrupt clear register.
Sourcepub fn k_mem_iter(&self) -> impl Iterator<Item = &K_MEM>
pub fn k_mem_iter(&self) -> impl Iterator<Item = &K_MEM>
Iterator for array of: 0x100..0x120 - The memory that stores k.
Sourcepub fn px_mem_iter(&self) -> impl Iterator<Item = &PX_MEM>
pub fn px_mem_iter(&self) -> impl Iterator<Item = &PX_MEM>
Iterator for array of: 0x120..0x140 - The memory that stores Px.
Sourcepub fn py_mem_iter(&self) -> impl Iterator<Item = &PY_MEM>
pub fn py_mem_iter(&self) -> impl Iterator<Item = &PY_MEM>
Iterator for array of: 0x140..0x160 - The memory that stores Py.