You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
272 B
12 lines
272 B
14 years ago
|
#include "types.h"
|
||
|
void init_i2c(void);
|
||
|
extern int i2cstat;
|
||
|
int i2c_wait(void);
|
||
|
void i2c_go(void);
|
||
|
int i2c_conreg(void);
|
||
|
int i2c_statreg(void);
|
||
|
bool i2c_send_start(void);
|
||
|
bool i2c_send_address(int addr, bool write);
|
||
|
bool i2c_send_data(int data);
|
||
|
void i2c_send_stop(void);
|