Enum libftd2xx::ClockDataIn[][src]

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

Modes for clocking data into the FTDI device.

This is an argument to the clock_data_in method.

Variants

MsbPos

Positive clock edge MSB first.

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

The data will be sampled on the rising edge of the CLK pin.

MsbNeg

Negative clock edge MSB first.

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

The data will be sampled 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 be sampled 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 be sampled on the falling edge of the CLK pin.

Trait Implementations

impl Clone for ClockDataIn[src]

impl Copy for ClockDataIn[src]

impl Debug for ClockDataIn[src]

impl Eq for ClockDataIn[src]

impl PartialEq<ClockDataIn> for ClockDataIn[src]

impl StructuralEq for ClockDataIn[src]

impl StructuralPartialEq for ClockDataIn[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.