Struct wiringpi::WiringPi [] [src]

pub struct WiringPi<Pin>(_);

Methods

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

[src]

[src]

[src]

This returns a number representing the number if milliseconds since your program called one of the setup functions.

It returns an unsigned 32-bit number which wraps after 49 days.

[src]

This returns a number representing the number if microseconds since your program called one of the setup functions.

It returns an unsigned 32-bit number which wraps after 71 minutes.

[src]

This writes the 8-bit byte supplied to the first 8 GPIO pins. It’s the fastest way to set all 8 bits at once to a particular value, although it still takes two write operations to the Pi’s GPIO hardware.

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

[src]

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

[src]

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

[src]

Trait Implementations

Auto Trait Implementations

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

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