Struct wiringpi::pin::OutputPin [] [src]

pub struct OutputPin<Pin>(_, _);

Methods

impl<P: Pin> OutputPin<P>
[src]

[src]

[src]

[src]

Writes the value High or Low (1 or 0) to the given pin which must have been previously set as an output.

[src]

This writes the given value to the supplied analog pin. You will need to register additional analog modules to enable this function for devices such as the Gertboard.

impl<P: Pin + RequiresRoot> OutputPin<P>
[src]

[src]

impl<P: Pin + RequiresRoot> OutputPin<P>
[src]

[src]

impl<P: Pin + Pwm> OutputPin<P>
[src]

[src]

impl<P: Pin + GpioClock> OutputPin<P>
[src]

[src]

Trait Implementations

Auto Trait Implementations

impl<Pin> Send for OutputPin<Pin> where
    Pin: Send

impl<Pin> Sync for OutputPin<Pin> where
    Pin: Sync