From c2e55263e97d514f2e7d4831ed61bb61b1f6b0ec Mon Sep 17 00:00:00 2001 From: Matthieu Cattin <matthieu.cattin@cern.ch> Date: Fri, 6 Dec 2013 18:28:26 +0100 Subject: [PATCH] many: Change interrupt scheme, now uses two stages (eic + vic). --- common/gn4124.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/gn4124.py b/common/gn4124.py index 0da90ae..1da15bd 100644 --- a/common/gn4124.py +++ b/common/gn4124.py @@ -124,8 +124,10 @@ class CGN4124: # Wait for interrupt def wait_irq(self, verbose=False): if verbose: - print("[GN4124] Waiting IRQ...") + print("[GN4124] Waiting interrupt...") ret = self.bus.irqwait() + if verbose: + print("[GN4124] Interrupt occured") # re-enable the interrupt self.bus.irqena() return ret -- GitLab