#[repr(u8)]pub enum CbusX {
Show 22 variants
Tristate = 0,
TxLed = 1,
RxLed = 2,
TxRxLed = 3,
PowerEnable = 4,
Sleep = 5,
Drive0 = 6,
Drive1 = 7,
IoMode = 8,
TxDen = 9,
Clk24 = 10,
Clk12 = 11,
Clk6 = 12,
BatteryCharger = 13,
BatteryChargerN = 14,
I2cTxEmpty = 15,
I2cRxFull = 16,
VbusSense = 17,
BitbangWrite = 18,
BitbangRead = 19,
Timestamp = 20,
KeepAwake = 21,
}
Expand description
FT X Series 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.
Clk24 = 10
24MHz clock.
Clk12 = 11
12MHz clock.
Clk6 = 12
6MHz clock.
BatteryCharger = 13
Battery charger detected.
BatteryChargerN = 14
Battery charger detected inverted.
I2cTxEmpty = 15
I2C Tx empty.
I2cRxFull = 16
I2C Rx full.
VbusSense = 17
Detect VBUS.
BitbangWrite = 18
Bit-bang write strobe.
BitbangRead = 19
Bit-bang read strobe.
Timestamp = 20
Toggle output when a USB SOF token is received.
KeepAwake = 21
No documentation is provided by the source.
Trait Implementations§
source§impl PartialEq for CbusX
impl PartialEq for CbusX
impl Copy for CbusX
impl Eq for CbusX
impl StructuralPartialEq for CbusX
Auto Trait Implementations§
impl RefUnwindSafe for CbusX
impl Send for CbusX
impl Sync for CbusX
impl Unpin for CbusX
impl UnwindSafe for CbusX
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