mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-27 03:18:30 +01:00
e22c8a8378
interface sorry mom! :P
10 lines
251 B
C
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
|