New method to test RTC oscillator.

This commit is contained in:
Martin Ling
2025-11-27 02:11:10 +00:00
parent f5e5ed5ba2
commit 23d69bf90c
6 changed files with 202 additions and 3 deletions

View File

@@ -1354,6 +1354,16 @@ extern ADDAPI int ADDCALL hackrf_read_selftest(
hackrf_device* device,
hackrf_selftest* value);
/**
* Test the RTC oscillator on the device
*
* @param[in] device device to query
* @param[out] pass RTC oscillator test result
* @return @ref HACKRF_SUCCESS on success or @ref hackrf_error variant
* @ingroup debug
*/
extern ADDAPI int ADDCALL hackrf_test_rtc_osc(hackrf_device* device, bool* pass);
/**
* Read a value from an ADC channel
*