pub struct GPIOB { /* private fields */ }Expand description
General-purpose I/Os
Implementations§
Trait Implementations§
Source§impl Enable for GPIOB
impl Enable for GPIOB
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl SMEnable for GPIOB
impl SMEnable for GPIOB
Source§fn enable_in_sleep_mode(bus: &mut Self::Bus)
fn enable_in_sleep_mode(bus: &mut Self::Bus)
Enables peripheral
Source§fn disable_in_sleep_mode(bus: &mut Self::Bus)
fn disable_in_sleep_mode(bus: &mut Self::Bus)
Disables peripheral
Source§fn is_enabled_in_sleep_mode() -> bool
fn is_enabled_in_sleep_mode() -> bool
Check if peripheral enabled
Source§fn is_disabled_in_sleep_mode() -> bool
fn is_disabled_in_sleep_mode() -> bool
Check if peripheral disabled
Source§unsafe fn enable_in_sleep_mode_unchecked()
unsafe fn enable_in_sleep_mode_unchecked()
Safety Read more
Source§unsafe fn disable_in_sleep_mode_unchecked()
unsafe fn disable_in_sleep_mode_unchecked()
Safety Read more
impl Send for GPIOB
Auto Trait Implementations§
impl Freeze for GPIOB
impl RefUnwindSafe for GPIOB
impl !Sync for GPIOB
impl Unpin for GPIOB
impl UnwindSafe for GPIOB
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