
Revision 1.709/12/1999ICA93LVI2C Communications Adapter User ManualContents1. Introduction 11.1. Packing List 12. Configuring the Adapter 22.1. Sett
Revision 1.7 Page 9 of 2709/12/1999/* This will read a byte of data from a slave previously addressed *//* by and with acknowledge already disabled by
Revision 1.7 Page 10 of 2709/12/1999#include <dos.h> /* Optional, but recommended if your compiler *//* supports DOS I/0 functions */#include &l
Revision 1.7 Page 11 of 2709/12/1999Name: setup (baseaddr%, own%, sclk%)Usage: call setup(baseaddr%, own%, sclk%)Function: procedure to set up I2C Com
Revision 1.7 Page 12 of 2709/12/1999baseaddr% = &h310 ‘* adapter’s base address = 0x310 (hex) *controladdress% = baseaddr% + 1status% = FNgetstatu
Revision 1.7 Page 13 of 2709/12/1999setnack% this controls whether the I2C Communications Adapter transmits andAcknowledge down the I2C Bus on recepti
Revision 1.7 Page 14 of 2709/12/1999Function: procedure to send a Stop (end of communication signal) down the I2C Bus,ending a transmission or recepti
Revision 1.7 Page 15 of 2709/12/1999slv% = &ha1 ‘* I2C Address of slave, this is a typical read address *‘* for an I2C static RAM or EEPROM*setnac
Revision 1.7 Page 16 of 2709/12/1999baseaddress is the address at which the adapter has been installed, e.g.310Hownaddress I2C address to which the ad
Revision 1.7 Page 17 of 2709/12/1999Setnack 1 for no acknowledge 0 for acknowledge.Parameters returned I2Cdata, the data read, if a time-out occurs th
Revision 1.7 Page 18 of 2709/12/1999getstatusFunction specification: Int getstatus ( )Parameters returned I2Cstatus, the current value of the bus stat
Revision 1.7 Page 1 of 2709/12/19991. IntroductionThe I2C Communications Adapter is a half length PC interface card designed to fit any IBM PCcompatib
Revision 1.7 Page 19 of 2709/12/1999When all the bytes have been transmitted a stop is issued and the totalnumber of bytes is returned.Sendbytes can o
Revision 1.7 Page 20 of 2709/12/1999Getbytes can only be used in master read mode.slavelastbyteFunction specification void slavelastbyte( )Parameters
Revision 1.7 Page 21 of 2709/12/19996. Further InformationThe following references may be found useful when using the adapter:Philips Semiconductors T
Revision 1.7 Page 22 of 2709/12/19997. The Real-Time Bus MonitorThe program REALTIM1.EXE in the MONTOR directory is a completely non-invasive real-tim
Revision 1.7 Page 23 of 2709/12/1999Appendix A I2C Communications Adapter Status CodesThis is an eight bit register, read using the getstatus routine.
Revision 1.7 Page 24 of 2709/12/1999Appendix B – I2C Communications Adapter Control CodesThe Control Register should normally be written using the set
Revision 1.7 Page 25 of 2709/12/1999Appendix C - The Most Commonly Asked I2C QuestionsGeneral QuestionsQuestion Will my adapter work in a Pentium PC?A
Revision 1.7 Page 26 of 2709/12/1999Windows 95 START - Run regeditHKEY_LOCAL_MACHINE||--SYSTEM||--CurrentControlSet||--Services||--Class||--WinRT||--W
Revision 1.7 Page 2 of 2709/12/19992. Configuring the AdapterNOTE: MANY COMPONENTS ON THE ADAPTER CARD ARE STATIC SENSITIVE.OBSERVE NORMAL STATIC SENS
Revision 1.7 Page 3 of 2709/12/1999Important Note: Due to the internal operation of the ICA93, it must not be accessed over the PCbus (read or written
Revision 1.7 Page 4 of 2709/12/19993. Connecting the Adapter to your System3.1. Connector PinoutAll external connections are made via a 9 way “D” sock
Revision 1.7 Page 5 of 2709/12/19994. Getting Started4.1. Resetting the AdapterA reset forces the adapter into a well defined state, ready for initial
Revision 1.7 Page 6 of 2709/12/19995. Using the UtilitiesEach utility is documented in a standard format, which lists its name, usage, function, and e
Revision 1.7 Page 7 of 2709/12/1999Parameters are:int controladdress address of I2C control register. This is equal to 1+(base address of adapter set
Revision 1.7 Page 8 of 2709/12/1999{int base, slv, setnack;base = 0x310; /* Adapter’s bas address = 0x310 (hex) */slv = 0xa0; /* I2C Address of slave,
Comentários a estes Manuais