pub struct HP_APM { /* private fields */ }Expand description
Represents a virtual peripheral with no associated hardware.
This struct is generated by the create_peripheral! macro when the peripheral
is defined as virtual.
Implementations§
Methods from Deref<Target = RegisterBlock>§
Sourcepub 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
Sourcepub fn region(&self, n: usize) -> ®ION
pub fn region(&self, n: usize) -> ®ION
0x04..0xc4 - Cluster REGION%s, containing REGION*_ADDR_START, REGION*_ADDR_END, REGION*_PMS_ATTR
Sourcepub fn region_iter(&self) -> impl Iterator<Item = ®ION>
pub fn region_iter(&self) -> impl Iterator<Item = ®ION>
Iterator for array of: 0x04..0xc4 - Cluster REGION%s, containing REGION*_ADDR_START, REGION*_ADDR_END, REGION*_PMS_ATTR
Sourcepub fn func_ctrl(&self) -> &Reg<FUNC_CTRL_SPEC>
pub fn func_ctrl(&self) -> &Reg<FUNC_CTRL_SPEC>
0xc4 - PMS function control register
Sourcepub fn m(&self, n: usize) -> &M
pub fn m(&self, n: usize) -> &M
0xc8..0x108 - Cluster M%s, containing M?_STATUS, M?_STATUS_CLR, M?_EXCEPTION_INFO0, M?_EXCEPTION_INFO1
Sourcepub fn m_iter(&self) -> impl Iterator<Item = &M>
pub fn m_iter(&self) -> impl Iterator<Item = &M>
Iterator for array of: 0xc8..0x108 - Cluster M%s, containing M?_STATUS, M?_STATUS_CLR, M?_EXCEPTION_INFO0, M?_EXCEPTION_INFO1
Sourcepub fn int_en(&self) -> &Reg<INT_EN_SPEC>
pub fn int_en(&self) -> &Reg<INT_EN_SPEC>
0x108 - APM interrupt enable register
Sourcepub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>
pub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>
0x10c - clock gating register
Trait Implementations§
Source§impl Peripheral for HP_APM
impl Peripheral for HP_APM
Auto Trait Implementations§
impl Freeze for HP_APM
impl RefUnwindSafe for HP_APM
impl Send for HP_APM
impl Sync for HP_APM
impl Unpin for HP_APM
impl UnwindSafe for HP_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