$search
Go to the source code of this file.
Defines | |
#define | BUFSIZE 0x20 |
#define | DATA_ACK 4 |
#define | DATA_NACK 5 |
#define | GET_DEVICE_ID 0x01 |
#define | GET_TEMPERATURE 0x02 |
#define | I2ADR_I2C 0x00000000 |
#define | I2C_IDLE 0 |
#define | I2C_REPEATED_START 3 |
#define | I2C_RESTARTED 2 |
#define | I2C_STARTED 1 |
#define | I2CMASTER 0x01 |
#define | I2CONCLR_AAC 0x00000004 |
#define | I2CONCLR_I2ENC 0x00000040 |
#define | I2CONCLR_SIC 0x00000008 |
#define | I2CONCLR_STAC 0x00000020 |
#define | I2CONSET_AA 0x00000004 |
#define | I2CONSET_I2EN 0x00000040 |
#define | I2CONSET_SI 0x00000008 |
#define | I2CONSET_STA 0x00000020 |
#define | I2CONSET_STO 0x00000010 |
#define | I2CSLAVE 0x02 |
#define | I2DAT_I2C 0x00000000 |
#define | I2SCLH_SCLH 0x00000080 |
#define | I2SCLL_SCLL 0x00000080 |
#define | MAX_TIMEOUT 0x00FFFFFF |
#define | RD_BIT 0x01 |
#define | SE95_ADDR 0x9E |
#define | SE95_CONFIG 0x01 |
#define | SE95_ID 0x05 |
#define | SE95_TEMP 0x00 |
#define | SET_CONFIGURATION 0x03 |
Functions | |
void | I2C0_send_motordata (void) |
void | I2C0MasterHandler (void) |
unsigned int | I2CEngine (void) |
void | I2CInit (unsigned int I2cMode) |
unsigned int | I2CStart (void) |
unsigned int | I2CStop (void) |