Enum libftd2xx::ClockBits[][src]

#[repr(u8)]pub enum ClockBits {
    MsbPosIn,
    MsbNegIn,
    LsbPosIn,
    LsbNegIn,
}

Modes for clocking data bits in and out of the FTDI device.

This is an argument to the clock_bits method.

Variants

MsbPosIn

MSB first, data in on positive edge, data out on negative edge.

MsbNegIn

MSB first, data in on negative edge, data out on positive edge.

LsbPosIn

LSB first, data in on positive edge, data out on negative edge.

LsbNegIn

LSB first, data in on negative edge, data out on positive edge.

Trait Implementations

impl Clone for ClockBits[src]

impl Copy for ClockBits[src]

impl Debug for ClockBits[src]

impl Eq for ClockBits[src]

impl PartialEq<ClockBits> for ClockBits[src]

impl StructuralEq for ClockBits[src]

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