Struct efm32pg1b_pac::Emu
source · pub struct Emu { /* private fields */ }
Expand description
EMU
Implementations§
source§impl Emu
impl Emu
sourcepub const PTR: *const RegisterBlock = {0x400e3000 as *const emu::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x400e3000 as *const emu::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 templimits(&self) -> &Templimits
pub fn templimits(&self) -> &Templimits
0x1c - Temperature Limits for Interrupt Generation
sourcepub fn dcdcmiscctrl(&self) -> &Dcdcmiscctrl
pub fn dcdcmiscctrl(&self) -> &Dcdcmiscctrl
0x4c - DCDC Miscellaneous Control Register
sourcepub fn dcdczdetctrl(&self) -> &Dcdczdetctrl
pub fn dcdczdetctrl(&self) -> &Dcdczdetctrl
0x50 - DCDC Power Train NFET Zero Current Detector Control Register
sourcepub fn dcdcclimctrl(&self) -> &Dcdcclimctrl
pub fn dcdcclimctrl(&self) -> &Dcdcclimctrl
0x54 - DCDC Power Train PFET Current Limiter Control Register
sourcepub fn dcdclncompctrl(&self) -> &Dcdclncompctrl
pub fn dcdclncompctrl(&self) -> &Dcdclncompctrl
0x58 - DCDC Low Noise Compensator Control Register
sourcepub fn dcdclnvctrl(&self) -> &Dcdclnvctrl
pub fn dcdclnvctrl(&self) -> &Dcdclnvctrl
0x5c - DCDC Low Noise Voltage Register
sourcepub fn dcdctiming(&self) -> &Dcdctiming
pub fn dcdctiming(&self) -> &Dcdctiming
0x60 - DCDC Controller Timing Value Register
sourcepub fn dcdclpvctrl(&self) -> &Dcdclpvctrl
pub fn dcdclpvctrl(&self) -> &Dcdclpvctrl
0x64 - DCDC Low Power Voltage Register
sourcepub fn dcdclpctrl(&self) -> &Dcdclpctrl
pub fn dcdclpctrl(&self) -> &Dcdclpctrl
0x6c - DCDC Low Power Control Register
sourcepub fn dcdclnfreqctrl(&self) -> &Dcdclnfreqctrl
pub fn dcdclnfreqctrl(&self) -> &Dcdclnfreqctrl
0x70 - DCDC Low Noise Controller Frequency Control
0x90 - VMON AVDD Channel Control
sourcepub fn vmonaltavddctrl(&self) -> &Vmonaltavddctrl
pub fn vmonaltavddctrl(&self) -> &Vmonaltavddctrl
0x94 - Alternate VMON AVDD Channel Control
sourcepub fn vmondvddctrl(&self) -> &Vmondvddctrl
pub fn vmondvddctrl(&self) -> &Vmondvddctrl
0x98 - VMON DVDD Channel Control
sourcepub fn vmonio0ctrl(&self) -> &Vmonio0ctrl
pub fn vmonio0ctrl(&self) -> &Vmonio0ctrl
0x9c - VMON IOVDD0 Channel Control
sourcepub fn biastestctrl(&self) -> &Biastestctrl
pub fn biastestctrl(&self) -> &Biastestctrl
0x19c - Test Control Register for Regulator and BIAS