Trait stm32f4xx_hal::gpio::PinPull
source · pub trait PinPull: Sized {
// Required method
fn set_internal_resistor(&mut self, resistor: Pull);
// Provided method
fn internal_resistor(self, resistor: Pull) -> Self { ... }
}
Required Methods§
sourcefn set_internal_resistor(&mut self, resistor: Pull)
fn set_internal_resistor(&mut self, resistor: Pull)
Set the internal pull-up and pull-down resistor
Provided Methods§
fn internal_resistor(self, resistor: Pull) -> Self
Object Safety§
This trait is not object safe.