Ftdi::Eeprom Class Reference

Device EEPROM. More...

#include <ftdi.hpp>

List of all members.

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 read_location (int eeprom_addr, unsigned short *eeprom_val)
int write_location (int eeprom_addr, unsigned short eeprom_val)
int erase ()

Detailed Description

Device EEPROM.

Definition at line 149 of file ftdi.hpp.


Constructor & Destructor Documentation

Ftdi::Eeprom::Eeprom ( Context parent  ) 

Definition at line 383 of file ftdi.cpp.

Ftdi::Eeprom::~Eeprom (  ) 

Definition at line 389 of file ftdi.cpp.


Member Function Documentation

void Ftdi::Eeprom::init_defaults (  ) 

Definition at line 393 of file ftdi.cpp.

void Ftdi::Eeprom::set_size ( int  size  ) 

Definition at line 398 of file ftdi.cpp.

int Ftdi::Eeprom::size ( unsigned char *  eeprom,
int  maxsize 
)

Definition at line 403 of file ftdi.cpp.

int Ftdi::Eeprom::chip_id ( unsigned int *  chipid  ) 

Definition at line 408 of file ftdi.cpp.

int Ftdi::Eeprom::build ( unsigned char *  output  ) 

Definition at line 413 of file ftdi.cpp.

int Ftdi::Eeprom::read ( unsigned char *  eeprom  ) 

Definition at line 418 of file ftdi.cpp.

int Ftdi::Eeprom::write ( unsigned char *  eeprom  ) 

Definition at line 423 of file ftdi.cpp.

int Ftdi::Eeprom::read_location ( int  eeprom_addr,
unsigned short *  eeprom_val 
)

Definition at line 428 of file ftdi.cpp.

int Ftdi::Eeprom::write_location ( int  eeprom_addr,
unsigned short  eeprom_val 
)

Definition at line 433 of file ftdi.cpp.

int Ftdi::Eeprom::erase (  ) 

Definition at line 438 of file ftdi.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Feb 6 13:33:42 2011 for libftdi by  doxygen 1.6.3