Enum ftdi_mpsse::ClockDataOut
source · [−]#[repr(u8)]
pub enum ClockDataOut {
MsbPos,
MsbNeg,
LsbPos,
LsbNeg,
}
Expand description
Modes for clocking data out of the FTDI device.
This is an argument to the clock_data_out
method.
Variants
MsbPos
Positive clock edge MSB first.
The data is sent MSB first.
The data will change to the next bit on the rising edge of the CLK pin.
MsbNeg
Negative clock edge MSB first.
The data is sent MSB first.
The data will change to the next bit 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 change to the next bit 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 change to the next bit on the falling edge of the CLK pin.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ClockDataOut
impl Send for ClockDataOut
impl Sync for ClockDataOut
impl Unpin for ClockDataOut
impl UnwindSafe for ClockDataOut
Blanket Implementations
Mutably borrows from an owned value. Read more