RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
powerpc
mvme5500
include
bsp
GT64260TWSI.h
1
#ifndef __GT64260TWSI_h
2
#define __GT64260TWSI_h
3
4
/* GT64260TWSI.h - header for the GT64260 Two-Wire Serial Interface */
5
6
/* TWSI Control Register Bits */
7
#define TWSI_ACK 4
8
#define TWSI_INTFLG 8
9
#define TWSI_STOP 0x10
10
#define TWSI_START 0x20
11
#define TWSI_TWSIEN 0x40
12
#define TWSI_INTEN 0x80
13
14
void
GT64260TWSIinit(
void
);
15
int
GT64260TWSIstart(
void
);
16
int
GT64260TWSIwrite(
unsigned
char
Data);
17
int
GT64260TWSIread(
unsigned
char
*,
int
lastByte);
18
int
GT64260TWSIstop(
void
);
19
20
#endif
Generated by
1.18.0