#[repr(u8)]pub enum ClockBits {
MsbPosIn = 51,
MsbNegIn = 54,
LsbPosIn = 59,
LsbNegIn = 62,
}
Expand description
Modes for clocking data bits in and out of the FTDI device.
This is an argument to the clock_bits
method.
Variants§
MsbPosIn = 51
MSB first, data in on positive edge, data out on negative edge.
MsbNegIn = 54
MSB first, data in on negative edge, data out on positive edge.
LsbPosIn = 59
LSB first, data in on positive edge, data out on negative edge.
LsbNegIn = 62
LSB first, data in on negative edge, data out on positive edge.
Trait Implementations§
source§impl PartialEq for ClockBits
impl PartialEq for ClockBits
impl Copy for ClockBits
impl Eq for ClockBits
impl StructuralPartialEq for ClockBits
Auto Trait Implementations§
impl RefUnwindSafe for ClockBits
impl Send for ClockBits
impl Sync for ClockBits
impl Unpin for ClockBits
impl UnwindSafe for ClockBits
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more