Commit f80aa990 authored by Matthieu Cattin's avatar Matthieu Cattin

Add a function to enable interrupt handling in the rawrabbit driver.

Call to irqena.

Note: The driver is disabling the interrupts in the ISR.
      Therefore, the user have to explicitly enable interrupts again.
parent f59f84b7
......@@ -114,6 +114,10 @@ class CGN4124:
def get_physical_addr(self):
return self.pages
# Enable interrupt handling in the rawrabbit driver
def irq_en(self):
self.bus.irqena()
# Wait for interrupt
def wait_irq(self):
return self.bus.irqwait()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment