Go to the source code of this file.
Define Documentation
Definition at line 14 of file i2c.h.
Definition at line 33 of file i2c.h.
Definition at line 34 of file i2c.h.
#define I2ADR_I2C 0x00000000 |
Definition at line 48 of file i2c.h.
Definition at line 29 of file i2c.h.
#define I2C_REPEATED_START 3 |
Definition at line 32 of file i2c.h.
Definition at line 31 of file i2c.h.
Definition at line 30 of file i2c.h.
Definition at line 17 of file i2c.h.
#define I2CONCLR_AAC 0x00000004 |
Definition at line 42 of file i2c.h.
#define I2CONCLR_I2ENC 0x00000040 |
Definition at line 45 of file i2c.h.
#define I2CONCLR_SIC 0x00000008 |
Definition at line 43 of file i2c.h.
#define I2CONCLR_STAC 0x00000020 |
Definition at line 44 of file i2c.h.
#define I2CONSET_AA 0x00000004 |
Definition at line 37 of file i2c.h.
#define I2CONSET_I2EN 0x00000040 |
Definition at line 36 of file i2c.h.
#define I2CONSET_SI 0x00000008 |
Definition at line 38 of file i2c.h.
#define I2CONSET_STA 0x00000020 |
Definition at line 40 of file i2c.h.
#define I2CONSET_STO 0x00000010 |
Definition at line 39 of file i2c.h.
Definition at line 18 of file i2c.h.
#define I2DAT_I2C 0x00000000 |
Definition at line 47 of file i2c.h.
#define I2SCLH_SCLH 0x00000080 |
Definition at line 49 of file i2c.h.
#define I2SCLL_SCLL 0x00000080 |
Definition at line 50 of file i2c.h.
Definition at line 21 of file i2c.h.
Definition at line 23 of file i2c.h.
Definition at line 22 of file i2c.h.
Definition at line 24 of file i2c.h.
Definition at line 25 of file i2c.h.
#define MAX_TIMEOUT 0x00FFFFFF |
Definition at line 15 of file i2c.h.
Definition at line 27 of file i2c.h.
Function Documentation
int I2CInit |
( |
int |
I2cMode |
) |
|
Definition at line 55 of file i2c.c.
Definition at line 90 of file i2c.c.