include/i2c.h File Reference

#include "fx2types.h"

Go to the source code of this file.

Functions

void i2c_write (BYTE addr, WORD len, BYTE *buf)
void i2c_read (BYTE addr, WORD len, BYTE *buf)
void eeprom_read (BYTE prom_addr, WORD addr, WORD len, BYTE *buf)
void eeprom_write (BYTE prom_addr, WORD addr, WORD len, BYTE *buf)


Detailed Description

Utilities for reading and writing to i2c devices and as eeproms.

Definition in file i2c.h.


Function Documentation

void eeprom_read ( BYTE  prom_addr,
WORD  addr,
WORD  len,
BYTE buf 
)

void eeprom_write ( BYTE  prom_addr,
WORD  addr,
WORD  len,
BYTE buf 
)

void i2c_read ( BYTE  addr,
WORD  len,
BYTE buf 
)

void i2c_write ( BYTE  addr,
WORD  len,
BYTE buf 
)


Generated on Wed Feb 4 12:27:36 2009 for Fx2lib by  doxygen 1.5.7.1