Struct embassy_stm32::peripherals::PD6
source · pub struct PD6 { /* private fields */ }
Expand description
PD6 peripheral
Implementations§
Trait Implementations§
source§impl Peripheral for PD6
impl Peripheral for PD6
source§impl Pin for PD6
impl Pin for PD6
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 Freeze for PD6
impl RefUnwindSafe for PD6
impl Send for PD6
impl Sync for PD6
impl Unpin for PD6
impl UnwindSafe for PD6
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