Struct esp32h2_hal::peripherals::LP_APM
source · pub struct LP_APM { /* private fields */ }
Implementations§
source§impl LP_APM
impl LP_APM
sourcepub unsafe fn steal() -> LP_APM
pub unsafe fn steal() -> LP_APM
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 region_filter_en(&self) -> &Reg<REGION_FILTER_EN_SPEC>
pub fn region_filter_en(&self) -> &Reg<REGION_FILTER_EN_SPEC>
0x00 - Region filter enable register
pub fn region0_addr_start(&self) -> &Reg<REGION0_ADDR_START_SPEC>
pub fn region0_addr_start(&self) -> &Reg<REGION0_ADDR_START_SPEC>
0x04 - Region address register
pub fn region0_addr_end(&self) -> &Reg<REGION0_ADDR_END_SPEC>
pub fn region0_addr_end(&self) -> &Reg<REGION0_ADDR_END_SPEC>
0x08 - Region address register
pub fn region0_pms_attr(&self) -> &Reg<REGION0_PMS_ATTR_SPEC>
pub fn region0_pms_attr(&self) -> &Reg<REGION0_PMS_ATTR_SPEC>
0x0c - Region access authority attribute register
pub fn region1_addr_start(&self) -> &Reg<REGION1_ADDR_START_SPEC>
pub fn region1_addr_start(&self) -> &Reg<REGION1_ADDR_START_SPEC>
0x10 - Region address register
pub fn region1_addr_end(&self) -> &Reg<REGION1_ADDR_END_SPEC>
pub fn region1_addr_end(&self) -> &Reg<REGION1_ADDR_END_SPEC>
0x14 - Region address register
pub fn region1_pms_attr(&self) -> &Reg<REGION1_PMS_ATTR_SPEC>
pub fn region1_pms_attr(&self) -> &Reg<REGION1_PMS_ATTR_SPEC>
0x18 - Region access authority attribute register
pub fn func_ctrl(&self) -> &Reg<FUNC_CTRL_SPEC>
pub fn func_ctrl(&self) -> &Reg<FUNC_CTRL_SPEC>
0xc4 - PMS function control register
pub fn m0_status(&self) -> &Reg<M0_STATUS_SPEC>
pub fn m0_status(&self) -> &Reg<M0_STATUS_SPEC>
0xc8 - M0 status register
pub fn m0_status_clr(&self) -> &Reg<M0_STATUS_CLR_SPEC>
pub fn m0_status_clr(&self) -> &Reg<M0_STATUS_CLR_SPEC>
0xcc - M0 status clear register
pub fn m0_exception_info0(&self) -> &Reg<M0_EXCEPTION_INFO0_SPEC>
pub fn m0_exception_info0(&self) -> &Reg<M0_EXCEPTION_INFO0_SPEC>
0xd0 - M0 exception_info0 register
pub fn m0_exception_info1(&self) -> &Reg<M0_EXCEPTION_INFO1_SPEC>
pub fn m0_exception_info1(&self) -> &Reg<M0_EXCEPTION_INFO1_SPEC>
0xd4 - M0 exception_info1 register
pub fn int_en(&self) -> &Reg<INT_EN_SPEC>
pub fn int_en(&self) -> &Reg<INT_EN_SPEC>
0xe8 - APM interrupt enable register
pub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>
pub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>
0xec - clock gating register
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0xfc - Version register
Trait Implementations§
source§impl Peripheral for LP_APM
impl Peripheral for LP_APM
Auto Trait Implementations§
impl RefUnwindSafe for LP_APM
impl Send for LP_APM
impl Sync for LP_APM
impl Unpin for LP_APM
impl UnwindSafe for LP_APM
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