Struct embassy_stm32::peripherals::PB1
source · pub struct PB1 { /* private fields */ }
Expand description
PB1 peripheral
Implementations§
Trait Implementations§
source§impl Channel3ComplementaryPin<TIM1> for PB1
impl Channel3ComplementaryPin<TIM1> for PB1
source§impl Channel3ComplementaryPin<TIM8> for PB1
impl Channel3ComplementaryPin<TIM8> for PB1
source§impl Channel4Pin<TIM3> for PB1
impl Channel4Pin<TIM3> for PB1
source§impl Peripheral for PB1
impl Peripheral for PB1
source§impl Pin for PB1
impl Pin for PB1
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)
source§impl UlpiD2Pin<USB_OTG_HS> for PB1
impl UlpiD2Pin<USB_OTG_HS> for PB1
impl AdcPin<ADC1> for PB1
impl AdcPin<ADC2> for PB1
Auto Trait Implementations§
impl RefUnwindSafe for PB1
impl Send for PB1
impl Sync for PB1
impl Unpin for PB1
impl UnwindSafe for PB1
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