pub struct Di { /* private fields */ }
Expand description
Device Information
Implementations§
Source§impl Di
impl Di
Sourcepub const PTR: *const RegisterBlock = {0xfe081b0 as *const di::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xfe081b0 as *const di::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 hfrcocal10(&self) -> &Hfrcocal10
pub fn hfrcocal10(&self) -> &Hfrcocal10
0xa8 - HFRCO Calibration Register (26 MHz)
Sourcepub fn hfrcocal11(&self) -> &Hfrcocal11
pub fn hfrcocal11(&self) -> &Hfrcocal11
0xac - HFRCO Calibration Register (32 MHz)
Sourcepub fn hfrcocal12(&self) -> &Hfrcocal12
pub fn hfrcocal12(&self) -> &Hfrcocal12
0xb0 - HFRCO Calibration Register (38 MHz)
Sourcepub fn auxhfrcocal0(&self) -> &Auxhfrcocal0
pub fn auxhfrcocal0(&self) -> &Auxhfrcocal0
0xe0 - AUXHFRCO Calibration Register (4 MHz)
Sourcepub fn auxhfrcocal3(&self) -> &Auxhfrcocal3
pub fn auxhfrcocal3(&self) -> &Auxhfrcocal3
0xec - AUXHFRCO Calibration Register (7 MHz)
Sourcepub fn auxhfrcocal6(&self) -> &Auxhfrcocal6
pub fn auxhfrcocal6(&self) -> &Auxhfrcocal6
0xf8 - AUXHFRCO Calibration Register (13 MHz)
Sourcepub fn auxhfrcocal7(&self) -> &Auxhfrcocal7
pub fn auxhfrcocal7(&self) -> &Auxhfrcocal7
0xfc - AUXHFRCO Calibration Register (16 MHz)
Sourcepub fn auxhfrcocal8(&self) -> &Auxhfrcocal8
pub fn auxhfrcocal8(&self) -> &Auxhfrcocal8
0x100 - AUXHFRCO Calibration Register (19 MHz)
Sourcepub fn auxhfrcocal10(&self) -> &Auxhfrcocal10
pub fn auxhfrcocal10(&self) -> &Auxhfrcocal10
0x108 - AUXHFRCO Calibration Register (26 MHz)
Sourcepub fn auxhfrcocal11(&self) -> &Auxhfrcocal11
pub fn auxhfrcocal11(&self) -> &Auxhfrcocal11
0x10c - AUXHFRCO Calibration Register (32 MHz)
Sourcepub fn auxhfrcocal12(&self) -> &Auxhfrcocal12
pub fn auxhfrcocal12(&self) -> &Auxhfrcocal12
0x110 - AUXHFRCO Calibration Register (38 MHz)