root/i2c/trunk/doc/pcf

Revision 3428, 1.9 kB (checked in by frodo, 9 years ago)

Petr's patches and more

* Removed compile warning about /* use
* Added I2C_M_NOSTART and I2C_M_REV_DIR_ADDR flags
* Added I2C_FUNC_PROTOCOL_MANGLING flag corresponding to both flags above
* Added support for these flags for bit and pcf algorithms
* Documented the flags within doc/i2c-protocol

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <simon>
2 This file written by Hans Berglund, who developed the pcf driver included
3 in this directory.
4 </simon>
5 BACKGROUND
6 ==========
7
8 This is an update to Simons i2c driver, based on his 19990214 version.
9
10 I do care about the PCF8584 part only, that means the following files:
11
12         algo_pcf.c      - PCF8584 algorithm, no HW access here.
13         algo_pcf.h      - Header file for the PCF algorithm.
14         pcf_isa.c       - The Elektor ISA I2C board interface. The
15                           I/O address, interrupt etc. is defined here.
16         pcf_isa.h       - Header file for HW definitions
17         pcf8584.h       - PCF8584 registers and bits.
18
19 I have always got plenty of warnings when compiling the i2c driver. The
20 warnings come from the C preprocessor complaining about '-' in variable
21 names. My suggestion is to avoid '-' and use '_' instead.
22
23
24 VERSIONS
25 ========
26
27 20000109 (Frodo Looijaard, frodol@dds.nl)
28 -----------------------------------------
29
30 - Hopefully fixed the horribly broken pcf_xfer function
31 - Added I2C_M_NOSTART and I2C_M_REV_DIR_ADDR support
32
33 19990218
34 --------
35 - Changed default clock setting to 0x1c
36 - Changes in pcf_isa.c to make interrupt work
37 - Added changes from Simons 19990214 version
38
39 19990202 (Changes from Simons 19990118)
40 ---------------------------------------
41 - Added algo_pcf.c
42 - Added algo_pcf.h
43 - Added pcf_isa.c
44 - Added pcf_isa.h
45 - Moved pcf8584.h from "old-code", and did minor changes.
46 - Changed detect/detect.c to give nicer output.
47 - Use i2c_debug in i2c-dev.c
48
49
50 LOCATIONS
51 =========
52
53 This driver: http://home.telia.no/hansb/I2C_page.htm
54      Additions to Simons driver to make it work with PCF8584.
55      Interrupthandling added. Some testing performed, but still
56      experimental version.
57
58 Simons driver: http://www.tk.uni-linz.ac.at/~simon/private/i2c/v4l/
59      The baseline for further development.
60
61 Pybes driver: http://www.iae.nl/users/pybe/linux/index.htm
62      More advanced PCF8584 additions. Supports message passing on
63      module level
Note: See TracBrowser for help on using the browser.