#[repr(u8)]pub enum Cbus232h {
Show 13 variants
Tristate = 0,
TxLed = 1,
RxLed = 2,
TxRxLed = 3,
PowerEnable = 4,
Sleep = 5,
Drive0 = 6,
Drive1 = 7,
IoMode = 8,
TxDen = 9,
Clk30 = 10,
Clk15 = 11,
Clk7_5 = 12,
}
Expand description
FT232H CBUS options.
Variants§
Tristate = 0
Tristate.
TxLed = 1
TX LED.
RxLed = 2
RX LED.
TxRxLed = 3
TX and RX LED.
PowerEnable = 4
Power enable.
Sleep = 5
Sleep.
Drive0 = 6
Drive pin to logic 0.
Drive1 = 7
Drive pin to logic 1.
IoMode = 8
IO Mode doe CBUS bit-bang.
TxDen = 9
TX data enable.
Clk30 = 10
30MHz clock.
Clk15 = 11
15MHz clock.
Clk7_5 = 12
7.5MHz clock.
Trait Implementations§
source§impl PartialEq for Cbus232h
impl PartialEq for Cbus232h
impl Copy for Cbus232h
impl Eq for Cbus232h
impl StructuralPartialEq for Cbus232h
Auto Trait Implementations§
impl RefUnwindSafe for Cbus232h
impl Send for Cbus232h
impl Sync for Cbus232h
impl Unpin for Cbus232h
impl UnwindSafe for Cbus232h
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