summaryrefslogtreecommitdiff
path: root/Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h')
-rw-r--r--Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h b/Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h
new file mode 100644
index 0000000..7676689
--- /dev/null
+++ b/Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h
@@ -0,0 +1,8 @@
+#ifndef __I2C_H
+#define __I2C_H
+
+uint32_t rtlsdr_get_tuner_clock(void *dev);
+int rtlsdr_i2c_write_fn(void *dev, uint8_t addr, uint8_t *buf, int len);
+int rtlsdr_i2c_read_fn(void *dev, uint8_t addr, uint8_t *buf, int len);
+
+#endif