Struct embassy_stm32::peripherals::PK4
source · pub struct PK4 { /* private fields */ }
Expand description
PK4 peripheral
Implementations§
Trait Implementations§
source§impl Peripheral for PK4
impl Peripheral for PK4
source§impl Pin for PK4
impl Pin for PK4
fn pin_port(&self) -> u8
fn _pin(&self) -> u8
fn _port(&self) -> u8
fn block(&self) -> Gpio
fn set_as_af(&self, af_num: u8, af_type: AFType)
fn set_as_af_pull(&self, af_num: u8, af_type: AFType, pull: Pull)
fn set_as_analog(&self)
source§fn set_as_disconnected(&self)
fn set_as_disconnected(&self)
Set the pin as “disconnected”, ie doing nothing and consuming the lowest
amount of power possible. Read more
fn set_speed(&self, speed: Speed)
Auto Trait Implementations§
impl RefUnwindSafe for PK4
impl Send for PK4
impl Sync for PK4
impl Unpin for PK4
impl UnwindSafe for PK4
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