pub struct PB4 { /* private fields */ }
Expand description
PB4 peripheral
Implementations§
Trait Implementations§
Source§impl BreakInputPin<TIM17> for PB4
impl BreakInputPin<TIM17> for PB4
Source§impl Peripheral for PB4
impl Peripheral for PB4
Source§impl Pin for PB4
impl Pin for PB4
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<ADC> for PB4
Auto Trait Implementations§
impl Freeze for PB4
impl RefUnwindSafe for PB4
impl Send for PB4
impl Sync for PB4
impl Unpin for PB4
impl UnwindSafe for PB4
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