X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/99e4226b74acd4286b735b5da275853701dcacf0..27f7ea191c75121d7d6399558734f91f3b5409e1:/bmc/i2c.h diff --git a/bmc/i2c.h b/bmc/i2c.h index d666669..af27f94 100644 --- a/bmc/i2c.h +++ b/bmc/i2c.h @@ -1,3 +1,8 @@ #define BMC_ADDR 0x24 +extern volatile unsigned char i2c_databuf[12]; +extern volatile uint8_t i2c_len; +extern volatile uint8_t i2c_done; + void i2c_init(); +void i2c_send(unsigned char *buf, int len);