pynq.interrupt Module

class pynq.interrupt.Interrupt(pinname)[source]

Bases: object

Class that provides the core wait-based API to end users

Provides a single coroutine wait that waits until the interrupt signal goes high. If the Overlay is changed or re-downloaded this object is invalidated and waiting results in undefined behaviour.


Wait for the interrupt to be active

May raise an exception if the Overlay has been changed since initialisation.