[][src]Struct wiringpi::WiringPi

pub struct WiringPi<Pin>(_);

Methods

impl<P: Pin> WiringPi<P>
[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.

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.

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]

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

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

Auto Trait Implementations

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

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

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.