Enum libftd2xx::CbusX[][src]

#[repr(u8)]pub enum CbusX {
    Tristate,
    TxLed,
    RxLed,
    TxRxLed,
    PowerEnable,
    Sleep,
    Drive0,
    Drive1,
    IoMode,
    TxDen,
    Clk24,
    Clk12,
    Clk6,
    BatteryCharger,
    BatteryChargerN,
    I2cTxEmpty,
    I2cRxFull,
    VbusSense,
    BitbangWrite,
    BitbangRead,
    Timestamp,
    KeepAwake,
}

FT X Series CBUS options.

Variants

Tristate

Tristate.

TxLed

TX LED.

RxLed

RX LED.

TxRxLed

TX and RX LED.

PowerEnable

Power enable.

Sleep

Sleep.

Drive0

Drive pin to logic 0.

Drive1

Drive pin to logic 1.

IoMode

IO Mode doe CBUS bit-bang.

TxDen

TX data enable.

Clk24

24MHz clock.

Clk12

12MHz clock.

Clk6

6MHz clock.

BatteryCharger

Battery charger detected.

BatteryChargerN

Battery charger detected inverted.

I2cTxEmpty

I2C Tx empty.

I2cRxFull

I2C Rx full.

VbusSense

Detect VBUS.

BitbangWrite

Bit-bang write strobe.

BitbangRead

Bit-bang read strobe.

Timestamp

Toggle output when a USB SOF token is received.

KeepAwake

No documentation is provided by the source.

Trait Implementations

impl Clone for CbusX[src]

impl Copy for CbusX[src]

impl Debug for CbusX[src]

impl Eq for CbusX[src]

impl PartialEq<CbusX> for CbusX[src]

impl StructuralEq for CbusX[src]

impl StructuralPartialEq for CbusX[src]

impl TryFrom<u8> for CbusX[src]

type Error = EepromValueError

The type returned in the event of a conversion error.

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.