rtl-sdr-blog/include/rtlsdr_i2c.h
Dimitri Stolnikov e22c8a8378 fix type definition in library
interface

sorry mom! :P
2012-04-01 22:35:52 +02:00

10 lines
251 B
C

#ifndef __I2C_H
#define __I2C_H
typedef struct rtlsdr_dev 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