Enum libftd2xx::ClockDataIn [−][src]
#[repr(u8)] pub enum ClockDataIn { MsbPos, MsbNeg, LsbPos, LsbNeg, }
Expand description
Modes for clocking data into the FTDI device.
This is an argument to the clock_data_in
method.
Variants
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.
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.
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.
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ClockDataIn
impl Send for ClockDataIn
impl Sync for ClockDataIn
impl Unpin for ClockDataIn
impl UnwindSafe for ClockDataIn
Blanket Implementations
Mutably borrows from an owned value. Read more