From d08207beb9b91f47a04ac6bd48967a0154312b7f Mon Sep 17 00:00:00 2001 From: Peter Kazanzides Date: Sat, 7 Dec 2024 13:33:17 -0500 Subject: [PATCH] ZynqEmioPort: added methods to get/set verbose flag and timeout --- lib/ZynqEmioPort.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ZynqEmioPort.h b/lib/ZynqEmioPort.h index 29f0388..681e72a 100644 --- a/lib/ZynqEmioPort.h +++ b/lib/ZynqEmioPort.h @@ -74,6 +74,14 @@ class ZynqEmioPort : public BasePort { ZynqEmioPort(int portNum = 0, std::ostream &debugStream = std::cerr); ~ZynqEmioPort(); + // Get/set EMIO timeout in microseconds + double GetTimeout_us(void) const { return emio->GetTimeout_us(); } + void SetTimeout_us(double time_uSec) { emio->SetTimeout_us(time_uSec); } + + // Get/set EMIO verbose flag + bool GetVerbose() const { return emio->GetVerbose(); } + void SetVerbose(bool newState) { emio->SetVerbose(newState); } + //****************** BasePort pure virtual methods *********************** PortType GetPortType(void) const { return PORT_ZYNQ_EMIO; }