4.115
Last change
on this file since 183af89 was
f8c37aea,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/03/09 at 08:49:36
|
2009-02-03 Ralf Corsépius <ralf.corsepius@…>
- GT64260/GT64260TWSI.h: Add missing prototypes.
|
-
Property mode set to
100644
|
File size:
521 bytes
|
Rev | Line | |
---|
[46a6fa91] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | #ifndef __GT64260TWSI_h |
---|
| 6 | #define __GT64260TWSI_h |
---|
| 7 | |
---|
[7be6ad9] | 8 | /* GT64260TWSI.h - header for the GT64260 Two-Wire Serial Interface */ |
---|
| 9 | |
---|
| 10 | /* TWSI Control Register Bits */ |
---|
| 11 | #define TWSI_ACK 4 |
---|
| 12 | #define TWSI_INTFLG 8 |
---|
| 13 | #define TWSI_STOP 0x10 |
---|
| 14 | #define TWSI_START 0x20 |
---|
| 15 | #define TWSI_TWSIEN 0x40 |
---|
| 16 | #define TWSI_INTEN 0x80 |
---|
[46a6fa91] | 17 | |
---|
[f8c37aea] | 18 | void GT64260TWSIinit(void); |
---|
| 19 | int GT64260TWSIstart(void); |
---|
[46a6fa91] | 20 | int GT64260TWSIwrite(unsigned char Data); |
---|
| 21 | int GT64260TWSIread(unsigned char *, int lastByte); |
---|
[f8c37aea] | 22 | int GT64260TWSIstop(void); |
---|
[46a6fa91] | 23 | |
---|
| 24 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.