Struct hpm5361_pac::GPIOM
source · pub struct GPIOM { /* private fields */ }
Expand description
GPIOM
Implementations§
source§impl GPIOM
impl GPIOM
sourcepub const PTR: *const RegisterBlock = {0xf00d8000 as *const gpiom::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xf00d8000 as *const gpiom::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 assign_iter(&self) -> impl Iterator<Item = &ASSIGN>
pub fn assign_iter(&self) -> impl Iterator<Item = &ASSIGN>
Iterator for array of: 0x00..0x780 - no description available
sourcepub fn assigngpioa(&self) -> &ASSIGN
pub fn assigngpioa(&self) -> &ASSIGN
0x00..0x80 - no description available
sourcepub fn assigngpiob(&self) -> &ASSIGN
pub fn assigngpiob(&self) -> &ASSIGN
0x80..0x100 - no description available
sourcepub fn assignrsv3(&self) -> &ASSIGN
pub fn assignrsv3(&self) -> &ASSIGN
0x100..0x180 - no description available
sourcepub fn assignrsv4(&self) -> &ASSIGN
pub fn assignrsv4(&self) -> &ASSIGN
0x180..0x200 - no description available
sourcepub fn assignrsv5(&self) -> &ASSIGN
pub fn assignrsv5(&self) -> &ASSIGN
0x200..0x280 - no description available
sourcepub fn assignrsv6(&self) -> &ASSIGN
pub fn assignrsv6(&self) -> &ASSIGN
0x280..0x300 - no description available
sourcepub fn assignrsv7(&self) -> &ASSIGN
pub fn assignrsv7(&self) -> &ASSIGN
0x300..0x380 - no description available
sourcepub fn assignrsv8(&self) -> &ASSIGN
pub fn assignrsv8(&self) -> &ASSIGN
0x380..0x400 - no description available
sourcepub fn assignrsv9(&self) -> &ASSIGN
pub fn assignrsv9(&self) -> &ASSIGN
0x400..0x480 - no description available
sourcepub fn assignrsv10(&self) -> &ASSIGN
pub fn assignrsv10(&self) -> &ASSIGN
0x480..0x500 - no description available
sourcepub fn assignrsv11(&self) -> &ASSIGN
pub fn assignrsv11(&self) -> &ASSIGN
0x500..0x580 - no description available
sourcepub fn assignrsv12(&self) -> &ASSIGN
pub fn assignrsv12(&self) -> &ASSIGN
0x580..0x600 - no description available
sourcepub fn assignrsv13(&self) -> &ASSIGN
pub fn assignrsv13(&self) -> &ASSIGN
0x600..0x680 - no description available
sourcepub fn assigngpiox(&self) -> &ASSIGN
pub fn assigngpiox(&self) -> &ASSIGN
0x680..0x700 - no description available
sourcepub fn assigngpioy(&self) -> &ASSIGN
pub fn assigngpioy(&self) -> &ASSIGN
0x700..0x780 - no description available