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