forked from M-Labs/artiq
1
0
Fork 0
artiq/artiq/runtime/i2c.h

11 lines
187 B
C

#ifndef __I2C_H
#define __I2C_H
void i2c_init(int busno);
void i2c_start(int busno);
void i2c_stop(int busno);
int i2c_write(int busno, int b);
int i2c_read(int busno, int ack);
#endif