Struct esp32c6_hal::peripherals::LPWR
source · pub struct LPWR { /* private fields */ }
Implementations§
source§impl LPWR
impl LPWR
sourcepub unsafe fn steal() -> LPWR
pub unsafe fn steal() -> LPWR
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
pub fn lp_clk_conf(&self) -> &Reg<LP_CLK_CONF_SPEC>
pub fn lp_clk_conf(&self) -> &Reg<LP_CLK_CONF_SPEC>
0x00 - need_des
pub fn lp_clk_po_en(&self) -> &Reg<LP_CLK_PO_EN_SPEC>
pub fn lp_clk_po_en(&self) -> &Reg<LP_CLK_PO_EN_SPEC>
0x04 - need_des
pub fn lp_clk_en(&self) -> &Reg<LP_CLK_EN_SPEC>
pub fn lp_clk_en(&self) -> &Reg<LP_CLK_EN_SPEC>
0x08 - need_des
pub fn lp_rst_en(&self) -> &Reg<LP_RST_EN_SPEC>
pub fn lp_rst_en(&self) -> &Reg<LP_RST_EN_SPEC>
0x0c - need_des
pub fn reset_cause(&self) -> &Reg<RESET_CAUSE_SPEC>
pub fn reset_cause(&self) -> &Reg<RESET_CAUSE_SPEC>
0x10 - need_des
pub fn cpu_reset(&self) -> &Reg<CPU_RESET_SPEC>
pub fn cpu_reset(&self) -> &Reg<CPU_RESET_SPEC>
0x14 - need_des
pub fn fosc_cntl(&self) -> &Reg<FOSC_CNTL_SPEC>
pub fn fosc_cntl(&self) -> &Reg<FOSC_CNTL_SPEC>
0x18 - need_des
pub fn rc32k_cntl(&self) -> &Reg<RC32K_CNTL_SPEC>
pub fn rc32k_cntl(&self) -> &Reg<RC32K_CNTL_SPEC>
0x1c - need_des
pub fn clk_to_hp(&self) -> &Reg<CLK_TO_HP_SPEC>
pub fn clk_to_hp(&self) -> &Reg<CLK_TO_HP_SPEC>
0x20 - need_des
pub fn lpmem_force(&self) -> &Reg<LPMEM_FORCE_SPEC>
pub fn lpmem_force(&self) -> &Reg<LPMEM_FORCE_SPEC>
0x24 - need_des
pub fn lpperi(&self) -> &Reg<LPPERI_SPEC>
pub fn lpperi(&self) -> &Reg<LPPERI_SPEC>
0x28 - need_des
pub fn xtal32k(&self) -> &Reg<XTAL32K_SPEC>
pub fn xtal32k(&self) -> &Reg<XTAL32K_SPEC>
0x2c - need_des
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0x3fc - need_des
Trait Implementations§
source§impl Peripheral for LPWR
impl Peripheral for LPWR
Auto Trait Implementations§
impl RefUnwindSafe for LPWR
impl Send for LPWR
impl Sync for LPWR
impl Unpin for LPWR
impl UnwindSafe for LPWR
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more