Enum libftd2xx::BitMode[][src]

#[repr(u8)]pub enum BitMode {
    Reset,
    AsyncBitbang,
    Mpsse,
    SyncBitbang,
    McuHost,
    FastSerial,
    CbusBitbang,
    SyncFifo,
}

BitModes for the FTDI ports.

This structure is passed to set_bit_mode to set the bit mode.

Variants

Reset

Reset.

AsyncBitbang

Asynchronous bit bang.

Mpsse

MPSSE (FT2232, FT2232H, FT4232H and FT232H devices only)

SyncBitbang

Synchronous Bit Bang (FT232R, FT245R,FT2232, FT2232H, FT4232H and FT232H devices only)

McuHost

MCU Host Bus Emulation Mode (FT2232, FT2232H, FT4232Hand FT232H devices only)

FastSerial

FastOpto-Isolated Serial Mode (FT2232, FT2232H, FT4232H and FT232H devices only)

CbusBitbang

CBUS Bit Bang Mode (FT232R and FT232H devices only)

SyncFifo

Single Channel Synchronous 245 FIFO Mode (FT2232H and FT232H devices only)

Trait Implementations

impl Clone for BitMode[src]

impl Copy for BitMode[src]

impl Debug for BitMode[src]

impl Eq for BitMode[src]

impl From<u8> for BitMode[src]

impl PartialEq<BitMode> for BitMode[src]

impl StructuralEq for BitMode[src]

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