pub struct GPIOB { /* private fields */ }
Expand description
General-purpose I/Os
Implementations
impl GPIOB
impl GPIOB
pub const PTR: *const RegisterBlock = {0x40020400 as *const stm32f4xx_hal::pac::gpiob::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40020400 as *const stm32f4xx_hal::pac::gpiob::RegisterBlock}
Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Enable for GPIOB
impl Enable for GPIOB
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
sourceimpl LPEnable for GPIOB
impl LPEnable for GPIOB
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
impl Send for GPIOB
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