summaryrefslogtreecommitdiff
path: root/hardware/src/r820/include/rtlsdr_i2c.h
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2022-03-12 17:48:54 +0000
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2022-03-12 17:48:54 +0000
commitec61b3e0e6084950eb4d5c95f83e442a01765a35 (patch)
treef9dee1721080ce33bf5452cc2f82deeafb047cc7 /hardware/src/r820/include/rtlsdr_i2c.h
parent4274248ca037308315f38ec77e66fddd8eae1395 (diff)
downloadr820sdr-init-ec61b3e0e6084950eb4d5c95f83e442a01765a35.tar.gz
r820sdr-init-ec61b3e0e6084950eb4d5c95f83e442a01765a35.zip
Working project
Diffstat (limited to 'hardware/src/r820/include/rtlsdr_i2c.h')
-rw-r--r--hardware/src/r820/include/rtlsdr_i2c.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/hardware/src/r820/include/rtlsdr_i2c.h b/hardware/src/r820/include/rtlsdr_i2c.h
new file mode 100644
index 0000000..7676689
--- /dev/null
+++ b/hardware/src/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