Struct libftd2xx_ffi::ft_eeprom_header
source · #[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§
source§impl Clone for ft_eeprom_header
impl Clone for ft_eeprom_header
source§fn clone(&self) -> ft_eeprom_header
fn clone(&self) -> ft_eeprom_header
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more