 |
RTEMS 5.2
|
Go to the documentation of this file.
38 volatile unsigned int prescl;
39 volatile unsigned int ctrl;
40 volatile unsigned int tdrd;
41 volatile unsigned int cmdsts;
45#define GRI2C_CTRL_EN 0x00000080
46#define GRI2C_CTRL_IEN 0x00000040
49#define GRI2C_CMD_STA 0x00000080
50#define GRI2C_CMD_STO 0x00000040
51#define GRI2C_CMD_RD 0x00000020
52#define GRI2C_CMD_WR 0x00000010
53#define GRI2C_CMD_ACK 0x00000008
54#define GRI2C_CMD_IACK 0x00000001
57#define GRI2C_STS_RXACK 0x00000080
58#define GRI2C_STS_BUSY 0x00000040
59#define GRI2C_STS_AL 0x00000020
60#define GRI2C_STS_TIP 0x00000002
61#define GRI2C_STS_IF 0x00000001
63#define GRI2C_STATUS_IDLE 0x00000000
66void i2cmst_register_drv (
void);