Struct libftd2xx::EepromHeader [−][src]
pub struct EepromHeader(_);
Expand description
FTDI EEPROM header common to all FTDI devices.
Implementations
Set the FTDI device type.
Set the FTDI USB device vendor ID.
FTDI USB product ID.
Typical FTDI product IDs:
0x6001
FT232AM/FT232BM/FT232R0x6010
FT2232C/FT2232D/FT2232H0x6011
FT4232/FT4232H0x6014
FT232H0x6015
FT230X/FT231X/FT234X
Set the FTDI USB product ID.
Serial Number Enable.
true
if the serial number is to be used.
The documentation is unclear what exactly this means.
Set Serial Number Enable.
Maximum bus current.
The unit for this value is milliamps, and the value range is 0-500 mA.
Set maximum bus current in milliamps.
Values greater than 500 mA (500u16
) will result in panic.
Device power source.
true
if the device is self-powered (not powered by USB bus).false
if the device is powered by the USB bus.
Set device power source.
true
if the device is self-powered (not powered by USB bus).false
if the device is powered by the USB bus.
Remote wakeup capabilities.
USB remote wakeup is the ability for the device to resume the PC from USB suspend (sleep) state.
true
if the device is capable of remote wakeup.false
if the device is not capable of remote wakeup.
Set remote wakeup capabilities.
USB remote wakeup is the ability for the device to resume the PC from USB suspend (sleep) state.
true
if the device is capable of remote wakeup.false
if the device is not capable of remote wakeup.
Pull down in suspend mode.
true
if pull-down in suspend is enabled.false
if pull-down in suspend is disabled.
Set pull down in suspend mode.
true
if pull-down in suspend is enabled.false
if pull-down in suspend is disabled.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EepromHeader
impl Send for EepromHeader
impl Sync for EepromHeader
impl Unpin for EepromHeader
impl UnwindSafe for EepromHeader
Blanket Implementations
Mutably borrows from an owned value. Read more