Struct libftd2xx::Eeprom2232h
source · pub struct Eeprom2232h(/* private fields */);
Expand description
EEPROM structure for the FT2232H.
This is used by the eeprom_read
and eeprom_program
methods.
Implementations§
source§impl Eeprom2232h
impl Eeprom2232h
sourcepub fn header(&self) -> EepromHeader
pub fn header(&self) -> EepromHeader
Get the EEPROM header.
sourcepub fn set_header(&mut self, header: EepromHeader)
pub fn set_header(&mut self, header: EepromHeader)
Set the EEPROM header.
Trait Implementations§
source§impl Clone for Eeprom2232h
impl Clone for Eeprom2232h
source§fn clone(&self) -> Eeprom2232h
fn clone(&self) -> Eeprom2232h
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 moresource§impl Debug for Eeprom2232h
impl Debug for Eeprom2232h
source§impl Default for Eeprom2232h
impl Default for Eeprom2232h
source§impl From<Eeprom2232h> for FT_EEPROM_2232H
impl From<Eeprom2232h> for FT_EEPROM_2232H
source§fn from(val: Eeprom2232h) -> FT_EEPROM_2232H
fn from(val: Eeprom2232h) -> FT_EEPROM_2232H
Converts to this type from the input type.
source§impl From<ft_eeprom_2232h> for Eeprom2232h
impl From<ft_eeprom_2232h> for Eeprom2232h
source§fn from(val: FT_EEPROM_2232H) -> Eeprom2232h
fn from(val: FT_EEPROM_2232H) -> Eeprom2232h
Converts to this type from the input type.
source§impl FtdiEeprom<ft_eeprom_2232h, Eeprom2232h> for Ft2232h
impl FtdiEeprom<ft_eeprom_2232h, Eeprom2232h> for Ft2232h
source§fn eeprom_read(&mut self) -> Result<(Eeprom, EepromStrings), FtStatus>
fn eeprom_read(&mut self) -> Result<(Eeprom, EepromStrings), FtStatus>
Read from the FTD2XX device EEPROM. Read more
source§fn eeprom_program(
&mut self,
eeprom: Eeprom,
strings: EepromStrings
) -> Result<(), FtStatus>
fn eeprom_program( &mut self, eeprom: Eeprom, strings: EepromStrings ) -> Result<(), FtStatus>
Program the FTD2XX EEPROM. Read more
impl Copy for Eeprom2232h
Auto Trait Implementations§
impl RefUnwindSafe for Eeprom2232h
impl Send for Eeprom2232h
impl Sync for Eeprom2232h
impl Unpin for Eeprom2232h
impl UnwindSafe for Eeprom2232h
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