Device EEPROM. More...
#include <ftdi.hpp>
Classes | |
class | Private |
Public Member Functions | |
Eeprom (Context *parent) | |
~Eeprom () | |
void | init_defaults () |
void | set_size (int size) |
int | size (unsigned char *eeprom, int maxsize) |
int | chip_id (unsigned int *chipid) |
int | build (unsigned char *output) |
int | read (unsigned char *eeprom) |
int | write (unsigned char *eeprom) |
int | erase () |
Device EEPROM.
Definition at line 145 of file ftdi.hpp.
Ftdi::Eeprom::Eeprom | ( | Context * | parent | ) |
Definition at line 353 of file ftdi.cpp.
References Ftdi::Context::context().
void Ftdi::Eeprom::init_defaults | ( | ) |
Definition at line 363 of file ftdi.cpp.
References ftdi_eeprom_initdefaults().
void Ftdi::Eeprom::set_size | ( | int | size | ) |
Definition at line 368 of file ftdi.cpp.
References ftdi_eeprom_setsize().
int Ftdi::Eeprom::size | ( | unsigned char * | eeprom, | |
int | maxsize | |||
) |
Definition at line 373 of file ftdi.cpp.
References ftdi_read_eeprom_getsize().
int Ftdi::Eeprom::chip_id | ( | unsigned int * | chipid | ) |
Definition at line 378 of file ftdi.cpp.
References ftdi_read_chipid().
int Ftdi::Eeprom::build | ( | unsigned char * | output | ) |
Definition at line 383 of file ftdi.cpp.
References ftdi_eeprom_build().
int Ftdi::Eeprom::read | ( | unsigned char * | eeprom | ) |
Definition at line 388 of file ftdi.cpp.
References ftdi_read_eeprom().
int Ftdi::Eeprom::write | ( | unsigned char * | eeprom | ) |
Definition at line 393 of file ftdi.cpp.
References ftdi_write_eeprom().
int Ftdi::Eeprom::erase | ( | ) |
Definition at line 398 of file ftdi.cpp.
References ftdi_erase_eeprom().