rtl-sdr-blog/include/i2c.h

10 lines
237 B
C
Raw Normal View History

#ifndef __I2C_H
#define __I2C_H
2012-03-27 19:49:44 +02:00
typedef int rtlsdr_dev_t;
int rtlsdr_i2c_write(rtlsdr_dev_t *dev, uint8_t i2c_addr, uint8_t *buffer, int len);
int rtlsdr_i2c_read(rtlsdr_dev_t *dev, uint8_t i2c_addr, uint8_t *buffer, int len);
#endif