[−][src]Struct stm32f4xx_hal::gpio::gpiod::PD14
Pin
Methods
impl<MODE> PD14<MODE>
[src]
pub fn into_alternate_af0(self) -> PD14<Alternate<AF0>>
[src]
Configures the pin to operate in AF0 mode
pub fn into_alternate_af1(self) -> PD14<Alternate<AF1>>
[src]
Configures the pin to operate in AF1 mode
pub fn into_alternate_af2(self) -> PD14<Alternate<AF2>>
[src]
Configures the pin to operate in AF2 mode
pub fn into_alternate_af3(self) -> PD14<Alternate<AF3>>
[src]
Configures the pin to operate in AF3 mode
pub fn into_alternate_af4(self) -> PD14<Alternate<AF4>>
[src]
Configures the pin to operate in AF4 mode
pub fn into_alternate_af5(self) -> PD14<Alternate<AF5>>
[src]
Configures the pin to operate in AF5 mode
pub fn into_alternate_af6(self) -> PD14<Alternate<AF6>>
[src]
Configures the pin to operate in AF6 mode
pub fn into_alternate_af7(self) -> PD14<Alternate<AF7>>
[src]
Configures the pin to operate in AF7 mode
pub fn into_alternate_af8(self) -> PD14<Alternate<AF8>>
[src]
Configures the pin to operate in AF8 mode
pub fn into_alternate_af9(self) -> PD14<Alternate<AF9>>
[src]
Configures the pin to operate in AF9 mode
pub fn into_alternate_af10(self) -> PD14<Alternate<AF10>>
[src]
Configures the pin to operate in AF10 mode
pub fn into_alternate_af11(self) -> PD14<Alternate<AF11>>
[src]
Configures the pin to operate in AF11 mode
pub fn into_alternate_af12(self) -> PD14<Alternate<AF12>>
[src]
Configures the pin to operate in AF12 mode
pub fn into_alternate_af13(self) -> PD14<Alternate<AF13>>
[src]
Configures the pin to operate in AF13 mode
pub fn into_alternate_af14(self) -> PD14<Alternate<AF14>>
[src]
Configures the pin to operate in AF14 mode
pub fn into_alternate_af15(self) -> PD14<Alternate<AF15>>
[src]
Configures the pin to operate in AF15 mode
pub fn into_floating_input(self) -> PD14<Input<Floating>>
[src]
Configures the pin to operate as a floating input pin
pub fn into_pull_down_input(self) -> PD14<Input<PullDown>>
[src]
Configures the pin to operate as a pulled down input pin
pub fn into_pull_up_input(self) -> PD14<Input<PullUp>>
[src]
Configures the pin to operate as a pulled up input pin
pub fn into_open_drain_output(self) -> PD14<Output<OpenDrain>>
[src]
Configures the pin to operate as an open drain output pin
pub fn into_push_pull_output(self) -> PD14<Output<PushPull>>
[src]
Configures the pin to operate as an push pull output pin
pub fn into_analog(self) -> PD14<Analog>
[src]
Configures the pin to operate as an analog input pin
impl<MODE> PD14<Output<MODE>>
[src]
impl PD14<Output<OpenDrain>>
[src]
pub fn internal_pull_up(&mut self, on: bool)
[src]
Enables / disables the internal pull up
impl<MODE> PD14<Alternate<MODE>>
[src]
pub fn set_speed(self, speed: Speed) -> Self
[src]
Set pin speed
pub fn internal_pull_up(self, on: bool) -> Self
[src]
Enables / disables the internal pull up
impl<MODE> PD14<Alternate<MODE>>
[src]
pub fn set_open_drain(self) -> Self
[src]
Turns pin alternate configuration pin into open drain
impl<MODE> PD14<MODE>
[src]
pub fn downgrade(self) -> PD<MODE>
[src]
Erases the pin number from the type
This is useful when you want to collect the pins into an array where you need all the elements to have the same type
Trait Implementations
impl<MODE> ExtiPin for PD14<Input<MODE>>
[src]
fn make_interrupt_source(&mut self, syscfg: &mut SYSCFG)
[src]
Configure EXTI Line $i to trigger from this pin.
fn trigger_on_edge(&mut self, exti: &mut EXTI, edge: Edge)
[src]
Generate interrupt on rising edge, falling edge or both
fn enable_interrupt(&mut self, exti: &mut EXTI)
[src]
Enable external interrupts from this pin.
fn disable_interrupt(&mut self, exti: &mut EXTI)
[src]
Disable external interrupts from this pin
fn clear_interrupt_pending_bit(&mut self, exti: &mut EXTI)
[src]
Clear the interrupt pending bit for this pin
impl<MODE> OutputPin for PD14<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for PD14<Output<MODE>>
[src]
fn is_set_high(&self) -> bool
[src]
fn is_set_low(&self) -> bool
[src]
impl<MODE> Default for PD14<Output<MODE>>
[src]
impl<MODE> InputPin for PD14<Output<MODE>>
[src]
impl<MODE> InputPin for PD14<Input<MODE>>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<P> ToggleableOutputPin for P where
P: Default,
[src]
P: Default,