#[repr(C)]
pub struct ft_eeprom_header { pub deviceType: FT_DEVICE, pub VendorId: WORD, pub ProductId: WORD, pub SerNumEnable: UCHAR, pub MaxPower: WORD, pub SelfPowered: UCHAR, pub RemoteWakeup: UCHAR, pub PullDownEnable: UCHAR, }
Expand description

@noop FT_EEPROM_HEADER @par Summary Structure to hold data for FT_EEPROM_Program and FT_EEPROM_Read functions. The structure for the command includes one FT_EEPROM_HEADER with a device-specific structure appended. @see FT_EEPROM_Read @see FT_EEPROM_Program

Fields§

§deviceType: FT_DEVICE§VendorId: WORD

FTxxxx device type to be programmed Device descriptor options

§ProductId: WORD

0x0403

§SerNumEnable: UCHAR

0x6001

§MaxPower: WORD

non-zero if serial number to be used Config descriptor options

§SelfPowered: UCHAR

0 < MaxPower <= 500

§RemoteWakeup: UCHAR

0 = bus powered, 1 = self powered

§PullDownEnable: UCHAR

0 = not capable, 1 = capable Hardware options

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.