|
|
@ -10,8 +10,8 @@ int i2c_conreg(void); |
|
|
|
int i2c_statreg(void); |
|
|
|
int i2c_statreg(void); |
|
|
|
bool i2c_send_start(void); |
|
|
|
bool i2c_send_start(void); |
|
|
|
bool i2c_send_address(int addr, bool write); |
|
|
|
bool i2c_send_address(int addr, bool write); |
|
|
|
bool i2c_send_data(int data); |
|
|
|
bool i2c_send_data(unsigned int data); |
|
|
|
bool i2c_receive_data(int *data, bool last); |
|
|
|
bool i2c_receive_data(unsigned int *data, bool last); |
|
|
|
void i2c_send_stop(void); |
|
|
|
void i2c_send_stop(void); |
|
|
|
|
|
|
|
|
|
|
|
#endif /* __I2C_H */ |
|
|
|
#endif /* __I2C_H */ |
|
|
|