From b8acf58798018f5fb4d84d470badadce5dd3a08d Mon Sep 17 00:00:00 2001 From: mattprost Date: Thu, 16 Dec 2021 13:48:26 -0600 Subject: n310: Add Filter API to n310 Add the Filter API to n3xx specifically for the AD937x device. The TX filter is limited to 32 taps, and the RX filter is limited to 48 taps. This feature requires MPM version 4.2 or later on the device. Co-authored-by: bpadalino Signed-off-by: mattprost --- mpm/include/mpm/ad937x/ad937x_ctrl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/include') diff --git a/mpm/include/mpm/ad937x/ad937x_ctrl.hpp b/mpm/include/mpm/ad937x/ad937x_ctrl.hpp index 936655405..57840b9f3 100644 --- a/mpm/include/mpm/ad937x/ad937x_ctrl.hpp +++ b/mpm/include/mpm/ad937x/ad937x_ctrl.hpp @@ -259,7 +259,7 @@ public: const std::string& which, const int8_t gain, const std::vector& fir) = 0; //! get the FIR filter for the frontend which - virtual std::vector get_fir(const std::string& which, int8_t& gain) = 0; + virtual std::pair> get_fir(const std::string& which) = 0; // TODO: update docstring with temperature unit and calibration information //! get the device temperature -- cgit v1.2.3