[−][src]Trait stm32g0xx_hal::prelude::OutputPin
Single digital push-pull output pin
Associated Types
type Error
Error type
Required methods
fn set_low(&mut self) -> Result<(), Self::Error>
Drives the pin low
NOTE the actual electrical state of the pin may not actually be low, e.g. due to external electrical sources
fn set_high(&mut self) -> Result<(), Self::Error>
Drives the pin high
NOTE the actual electrical state of the pin may not actually be high, e.g. due to external electrical sources
Implementors
impl<MODE> OutputPin for PA<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA0<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA1<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA10<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA11<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA12<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA13<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA14<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA15<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA2<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA3<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA4<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA5<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA6<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA7<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA8<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PA9<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB0<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB1<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB10<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB11<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB12<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB13<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB14<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB15<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB2<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB3<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB4<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB5<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB6<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB7<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB8<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PB9<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC0<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC1<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC10<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC11<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC12<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC13<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC14<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC15<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC2<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC3<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC4<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC5<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC6<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC7<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC8<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PC9<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD0<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD1<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD10<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD11<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD12<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD13<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD14<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD15<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD2<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD3<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD4<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD5<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD6<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD7<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD8<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PD9<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF0<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF1<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF10<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF11<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF12<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF13<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF14<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF15<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF2<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF3<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF4<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF5<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF6<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF7<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF8<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<MODE> OutputPin for PF9<Output<MODE>>
[src]
type Error = ()
fn set_high(&mut self) -> Result<(), ()>
[src]
fn set_low(&mut self) -> Result<(), ()>
[src]
impl<T> OutputPin for T where
T: OutputPin,
[src]
T: OutputPin,
Implementation of fallible v2::OutputPin
for v1::OutputPin
traits