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