source: rtems/c/src/lib/libbsp/powerpc/mvme5500/GT64260/GT64260TWSI.h @ 46a6fa91

4.104.114.84.9
Last change on this file since 46a6fa91 was 46a6fa91, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 15, 2005 at 8:13:18 PM

2005-04-15 Joel Sherrill <joel@…>

  • GT64260/GT64260TWSI.c, GT64260/GT64260TWSI.h, irq/GT64260Int.c, network/GT64260eth.c, pci/pci.c, startup/bspclean.c, startup/reboot.c: Fix warnings.
  • Property mode set to 100644
File size: 509 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();
19int GT64260TWSIstart();
20int GT64260TWSIwrite(unsigned char Data);
21int GT64260TWSIread(unsigned char *, int lastByte);
22int GT64260TWSIstop();
23
24#endif
Note: See TracBrowser for help on using the repository browser.