pub struct GPIOG { /* private fields */ }
Expand description
General purpose I/O
Implementations
sourceimpl GPIOG
impl GPIOG
sourcepub const PTR: *const RegisterBlock = {0x40012000 as *const stm32f102::gpioa::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40012000 as *const stm32f102::gpioa::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
Trait Implementations
sourceimpl Deref for GPIOG
impl Deref for GPIOG
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for GPIOG
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more