Struct efm32pg1b_pac::Crypto
source · pub struct Crypto { /* private fields */ }
Expand description
CRYPTO
Implementations§
source§impl Crypto
impl Crypto
sourcepub const PTR: *const RegisterBlock = {0x400f0000 as *const crypto::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x400f0000 as *const crypto::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 data0xorbyte(&self) -> &Data0xorbyte
pub fn data0xorbyte(&self) -> &Data0xorbyte
0xbc - DATA0 Register Byte XOR Access
sourcepub fn data0byte12(&self) -> &Data0byte12
pub fn data0byte12(&self) -> &Data0byte12
0xc0 - DATA0 Register Byte 12 Access
sourcepub fn data0byte13(&self) -> &Data0byte13
pub fn data0byte13(&self) -> &Data0byte13
0xc4 - DATA0 Register Byte 13 Access
sourcepub fn data0byte14(&self) -> &Data0byte14
pub fn data0byte14(&self) -> &Data0byte14
0xc8 - DATA0 Register Byte 14 Access
sourcepub fn data0byte15(&self) -> &Data0byte15
pub fn data0byte15(&self) -> &Data0byte15
0xcc - DATA0 Register Byte 15 Access
sourcepub fn ddata0byte(&self) -> &Ddata0byte
pub fn ddata0byte(&self) -> &Ddata0byte
0x140 - DDATA0 Register Byte Access
sourcepub fn ddata1byte(&self) -> &Ddata1byte
pub fn ddata1byte(&self) -> &Ddata1byte
0x144 - DDATA1 Register Byte Access
sourcepub fn ddata0byte32(&self) -> &Ddata0byte32
pub fn ddata0byte32(&self) -> &Ddata0byte32
0x148 - DDATA0 Register Byte 32 Access
sourcepub fn qdata0byte(&self) -> &Qdata0byte
pub fn qdata0byte(&self) -> &Qdata0byte
0x1c0 - QDATA0 Register Byte Access
sourcepub fn qdata1byte(&self) -> &Qdata1byte
pub fn qdata1byte(&self) -> &Qdata1byte
0x1c4 - QDATA1 Register Byte Access