Enum libftd2xx::ClockDataOut[][src]

#[repr(u8)]pub enum ClockDataOut {
    MsbPos,
    MsbNeg,
    LsbPos,
    LsbNeg,
}

Modes for clocking data out of the FTDI device.

This is an argument to the clock_data_out method.

Variants

MsbPos

Positive clock edge MSB first.

The data is sent MSB first.

The data will change to the next bit on the rising edge of the CLK pin.

MsbNeg

Negative clock edge MSB first.

The data is sent MSB first.

The data will change to the next bit on the falling edge of the CLK pin.

LsbPos

Positive clock edge LSB first.

The first bit in will be the LSB of the first byte and so on.

The data will change to the next bit on the rising edge of the CLK pin.

LsbNeg

Negative clock edge LSB first.

The first bit in will be the LSB of the first byte and so on.

The data will change to the next bit on the falling edge of the CLK pin.

Trait Implementations

impl Clone for ClockDataOut[src]

impl Copy for ClockDataOut[src]

impl Debug for ClockDataOut[src]

impl Eq for ClockDataOut[src]

impl PartialEq<ClockDataOut> for ClockDataOut[src]

impl StructuralEq for ClockDataOut[src]

impl StructuralPartialEq for ClockDataOut[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.