[][src]Trait atmega32u4_hal::prelude::_

pub trait _ {
    type Error;
    pub fn set_low(&mut self) -> Result<(), Self::Error>;
pub fn set_high(&mut self) -> Result<(), Self::Error>; }

Single digital push-pull output pin

Associated Types

type Error[src]

Error type

Loading content...

Required methods

pub fn set_low(&mut self) -> Result<(), Self::Error>[src]

Drives the pin low

NOTE the actual electrical state of the pin may not actually be low, e.g. due to external electrical sources

pub fn set_high(&mut self) -> Result<(), Self::Error>[src]

Drives the pin high

NOTE the actual electrical state of the pin may not actually be high, e.g. due to external electrical sources

Loading content...

Implementors

impl OutputPin for Pin<Output>[src]

type Error = Void

impl OutputPin for Pin<TriState>[src]

type Error = Void

impl OutputPin for PB0<Output>[src]

type Error = Void

impl OutputPin for PB0<TriState>[src]

type Error = Void

impl OutputPin for PB1<Output>[src]

type Error = Void

impl OutputPin for PB1<TriState>[src]

type Error = Void

impl OutputPin for PB2<Output>[src]

type Error = Void

impl OutputPin for PB2<TriState>[src]

type Error = Void

impl OutputPin for PB3<Output>[src]

type Error = Void

impl OutputPin for PB3<TriState>[src]

type Error = Void

impl OutputPin for PB4<Output>[src]

type Error = Void

impl OutputPin for PB4<TriState>[src]

type Error = Void

impl OutputPin for PB5<Output>[src]

type Error = Void

impl OutputPin for PB5<TriState>[src]

type Error = Void

impl OutputPin for PB6<Output>[src]

type Error = Void

impl OutputPin for PB6<TriState>[src]

type Error = Void

impl OutputPin for PB7<Output>[src]

type Error = Void

impl OutputPin for PB7<TriState>[src]

type Error = Void

impl OutputPin for PC6<Output>[src]

type Error = Void

impl OutputPin for PC6<TriState>[src]

type Error = Void

impl OutputPin for PC7<Output>[src]

type Error = Void

impl OutputPin for PC7<TriState>[src]

type Error = Void

impl OutputPin for PD0<Output>[src]

type Error = Void

impl OutputPin for PD0<TriState>[src]

type Error = Void

impl OutputPin for PD1<Output>[src]

type Error = Void

impl OutputPin for PD1<TriState>[src]

type Error = Void

impl OutputPin for PD2<Output>[src]

type Error = Void

impl OutputPin for PD2<TriState>[src]

type Error = Void

impl OutputPin for PD3<Output>[src]

type Error = Void

impl OutputPin for PD3<TriState>[src]

type Error = Void

impl OutputPin for PD4<Output>[src]

type Error = Void

impl OutputPin for PD4<TriState>[src]

type Error = Void

impl OutputPin for PD5<Output>[src]

type Error = Void

impl OutputPin for PD5<TriState>[src]

type Error = Void

impl OutputPin for PD6<Output>[src]

type Error = Void

impl OutputPin for PD6<TriState>[src]

type Error = Void

impl OutputPin for PD7<Output>[src]

type Error = Void

impl OutputPin for PD7<TriState>[src]

type Error = Void

impl OutputPin for PE2<Output>[src]

type Error = Void

impl OutputPin for PE2<TriState>[src]

type Error = Void

impl OutputPin for PE6<Output>[src]

type Error = Void

impl OutputPin for PE6<TriState>[src]

type Error = Void

impl OutputPin for PF0<Output>[src]

type Error = Void

impl OutputPin for PF0<TriState>[src]

type Error = Void

impl OutputPin for PF1<Output>[src]

type Error = Void

impl OutputPin for PF1<TriState>[src]

type Error = Void

impl OutputPin for PF4<Output>[src]

type Error = Void

impl OutputPin for PF4<TriState>[src]

type Error = Void

impl OutputPin for PF5<Output>[src]

type Error = Void

impl OutputPin for PF5<TriState>[src]

type Error = Void

impl OutputPin for PF6<Output>[src]

type Error = Void

impl OutputPin for PF6<TriState>[src]

type Error = Void

impl OutputPin for PF7<Output>[src]

type Error = Void

impl OutputPin for PF7<TriState>[src]

type Error = Void

impl OutputPin for ChipSelectPin[src]

type Error = Void

impl<T> OutputPin for T where
    T: OutputPin
[src]

Implementation of fallible v2::OutputPin for v1::OutputPin traits

type Error = ()

Loading content...