#include <ftdi.hpp>
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 | read_location (int eeprom_addr, unsigned short *eeprom_val) |
int | write_location (int eeprom_addr, unsigned short eeprom_val) |
int | erase () |
Classes | |
class | Private |
Definition at line 149 of file ftdi.hpp.
Ftdi::Eeprom::Eeprom | ( | Context * | parent | ) |
void Ftdi::Eeprom::init_defaults | ( | ) |
void Ftdi::Eeprom::set_size | ( | int | size | ) |
int Ftdi::Eeprom::size | ( | unsigned char * | eeprom, | |
int | maxsize | |||
) |
int Ftdi::Eeprom::chip_id | ( | unsigned int * | chipid | ) |
int Ftdi::Eeprom::build | ( | unsigned char * | output | ) |
int Ftdi::Eeprom::read | ( | unsigned char * | eeprom | ) |
int Ftdi::Eeprom::write | ( | unsigned char * | eeprom | ) |
int Ftdi::Eeprom::read_location | ( | int | eeprom_addr, | |
unsigned short * | eeprom_val | |||
) |
int Ftdi::Eeprom::write_location | ( | int | eeprom_addr, | |
unsigned short | eeprom_val | |||
) |
int Ftdi::Eeprom::erase | ( | ) |