pub struct LP_ANA { /* private fields */ }
Expand description
LP_ANA Peripheral
Implementations§
Source§impl LP_ANA
impl LP_ANA
Sourcepub const PTR: *const RegisterBlock = {0x600b2c00 as *const lp_ana::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x600b2c00 as *const lp_ana::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 bod_mode0_cntl(&self) -> &BOD_MODE0_CNTL
pub fn bod_mode0_cntl(&self) -> &BOD_MODE0_CNTL
0x00 - need_des
Sourcepub fn bod_mode1_cntl(&self) -> &BOD_MODE1_CNTL
pub fn bod_mode1_cntl(&self) -> &BOD_MODE1_CNTL
0x04 - need_des
Sourcepub fn vdd_source_cntl(&self) -> &VDD_SOURCE_CNTL
pub fn vdd_source_cntl(&self) -> &VDD_SOURCE_CNTL
0x08 - need_des
Sourcepub fn vddbat_bod_cntl(&self) -> &VDDBAT_BOD_CNTL
pub fn vddbat_bod_cntl(&self) -> &VDDBAT_BOD_CNTL
0x0c - need_des
Sourcepub fn vddbat_charge_cntl(&self) -> &VDDBAT_CHARGE_CNTL
pub fn vddbat_charge_cntl(&self) -> &VDDBAT_CHARGE_CNTL
0x10 - need_des
Sourcepub fn ck_glitch_cntl(&self) -> &CK_GLITCH_CNTL
pub fn ck_glitch_cntl(&self) -> &CK_GLITCH_CNTL
0x14 - need_des
Sourcepub fn pg_glitch_cntl(&self) -> &PG_GLITCH_CNTL
pub fn pg_glitch_cntl(&self) -> &PG_GLITCH_CNTL
0x18 - need_des
Sourcepub fn fib_enable(&self) -> &FIB_ENABLE
pub fn fib_enable(&self) -> &FIB_ENABLE
0x1c - need_des
Sourcepub fn lp_int_raw(&self) -> &LP_INT_RAW
pub fn lp_int_raw(&self) -> &LP_INT_RAW
0x30 - need_des
Sourcepub fn lp_int_ena(&self) -> &LP_INT_ENA
pub fn lp_int_ena(&self) -> &LP_INT_ENA
0x38 - need_des
Sourcepub fn lp_int_clr(&self) -> &LP_INT_CLR
pub fn lp_int_clr(&self) -> &LP_INT_CLR
0x3c - need_des