source: rtems/c/src/lib/libbsp/powerpc/mvme5500/GT64260/GT64260TWSI.h @ 183af89

4.115
Last change on this file since 183af89 was f8c37aea, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 3, 2009 at 8:49:36 AM

2009-02-03 Ralf Corsépius <ralf.corsepius@…>

  • GT64260/GT64260TWSI.h: Add missing prototypes.
  • Property mode set to 100644
File size: 521 bytes
Line 
1/*
2 *  $Id$
3 */
4
5#ifndef __GT64260TWSI_h
6#define __GT64260TWSI_h
7
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
17
18void GT64260TWSIinit(void);
19int GT64260TWSIstart(void);
20int GT64260TWSIwrite(unsigned char Data);
21int GT64260TWSIread(unsigned char *, int lastByte);
22int GT64260TWSIstop(void);
23
24#endif
Note: See TracBrowser for help on using the repository browser.