CALIBRE

￿

￿

3.4.Windows LIB/DLL Functions

3.4.1.

Files on disc

 

 

\readme.doc

User Information

 

\win\c\I2cinc.h

"C" function prototypes

 

\win\c\lpti2c.lib

I2C "C" library

 

\win\vb30\lpti2c.bas

Visual Basic 3.0 declarations

 

\win\vb30\lpti2c.dll

I2C Visual Basic dynamic link library

The following functions are implemented in the windows libraries:-

void far _pascal _export setup (int baseaddress, int ownaddress, int sclk, int statuswait); int far _pascal _export sendaddress (int slaveaddress, int setnack);

int far _pascal _export restart (int slaveaddress, int setnack); int far _pascal _export getstatus (void);

int far _pascal _export writebyte (int wrData); int far _pascal _export readbyte (int setnack); int far _pascal _export sendstop (void);

int far _pascal _export recover (void);

int far _pascal _export sendbytes (int __far *transferarray); int far _pascal _export getbytes (int __far *transferarray); void far _pascal _export slavelastbyte (void);

Issue 1.3

Page 6

22/07/99

Page 9
Image 9
Calibre UK PICA93LV user manual Windows LIB/DLL Functions