Struct embassy_stm32::peripherals::PA0
source · pub struct PA0 { /* private fields */ }
Expand description
PA0 peripheral
Implementations§
Trait Implementations§
source§impl Channel1Pin<TIM2> for PA0
impl Channel1Pin<TIM2> for PA0
source§impl ExternalTriggerPin<TIM2> for PA0
impl ExternalTriggerPin<TIM2> for PA0
source§impl Peripheral for PA0
impl Peripheral for PA0
source§impl Pin for PA0
impl Pin for PA0
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)
impl AdcPin<ADC1> for PA0
impl AdcPin<ADC2> for PA0
Auto Trait Implementations§
impl Freeze for PA0
impl RefUnwindSafe for PA0
impl Send for PA0
impl Sync for PA0
impl Unpin for PA0
impl UnwindSafe for PA0
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