From ca50c0f64f1b2fce46b4cb83ed111854bac13852 Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Fri, 1 Nov 2024 08:38:25 +0000 Subject: rtlsdr library example compiles --- Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h (limited to 'Radio/HW/RtlSdr/r820/include/rtlsdr_i2c.h') 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 -- cgit v1.2.3