Enum libftd2xx::ClockBitsIn [−][src]
Modes for clocking data bits into the FTDI device.
This is an argument to the clock_bits_in
method.
Variants
Positive clock edge MSB first.
The data will be shifted up so that the first bit in may not be in bit 7 but from 6 downwards depending on the number of bits to shift (i.e. a length of 1 bit will have the data bit sampled in bit 0 of the byte sent back to the PC).
The data will be sampled on the rising edge of the CLK pin.
Negative clock edge MSB first.
The data will be shifted up so that the first bit in may not be in bit 7 but from 6 downwards depending on the number of bits to shift (i.e. a length of 1 bit will have the data bit sampled in bit 0 of the byte sent back to the PC).
The data will be sampled on the falling edge of the CLK pin.
Positive clock edge LSB first.
The data will be shifted down so that the first bit in may not be in bit 0 but from 1 upwards depending on the number of bits to shift (i.e. a length of 1 bit will have the data bit sampled in bit 7 of the byte sent back to the PC).
The data will be sampled on the rising edge of the CLK pin.
Negative clock edge LSB first.
The data will be shifted down so that thefirst bit in may not be in bit 0 but from 1 upwards depending on the number of bits to shift (i.e. a length of 1 bit will have the data bit sampled in bit 7 of the byte sent back to the PC).
The data will be sampled on the falling edge of the CLK pin.
Trait Implementations
impl Clone for ClockBitsIn
[src]
fn clone(&self) -> ClockBitsIn
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ClockBitsIn
[src]
impl Debug for ClockBitsIn
[src]
impl Eq for ClockBitsIn
[src]
impl PartialEq<ClockBitsIn> for ClockBitsIn
[src]
fn eq(&self, other: &ClockBitsIn) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ClockBitsIn
[src]
impl StructuralPartialEq for ClockBitsIn
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClockBitsIn
[src]
impl Send for ClockBitsIn
[src]
impl Sync for ClockBitsIn
[src]
impl Unpin for ClockBitsIn
[src]
impl UnwindSafe for ClockBitsIn
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,