aboutsummaryrefslogtreecommitdiffstats
path: root/include/rtl-sdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtl-sdr.h')
-rw-r--r--include/rtl-sdr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rtl-sdr.h b/include/rtl-sdr.h
index fe64bea..3ed13ae 100644
--- a/include/rtl-sdr.h
+++ b/include/rtl-sdr.h
@@ -380,6 +380,15 @@ RTLSDR_API int rtlsdr_read_async(rtlsdr_dev_t *dev,
*/
RTLSDR_API int rtlsdr_cancel_async(rtlsdr_dev_t *dev);
+/*!
+ * Enable or disable the bias tee on GPIO PIN 0.
+ *
+ * \param dev the device handle given by rtlsdr_open()
+ * \param on 1 for Bias T on. 0 for Bias T off.
+ * \return -1 if device is not initialized. 0 otherwise.
+ */
+RTLSDR_API int rtlsdr_set_bias_tee(rtlsdr_dev_t *dev, int on);
+
#ifdef __cplusplus
}
#endif