diff options
Diffstat (limited to 'zpu/hdl/zpu4/test/interrupt/int.c')
-rw-r--r-- | zpu/hdl/zpu4/test/interrupt/int.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zpu/hdl/zpu4/test/interrupt/int.c b/zpu/hdl/zpu4/test/interrupt/int.c index 2be6483..1b6ec01 100644 --- a/zpu/hdl/zpu4/test/interrupt/int.c +++ b/zpu/hdl/zpu4/test/interrupt/int.c @@ -6,7 +6,10 @@ int counter;
-/* Example of single, fixed interval non-maskable, nested interrupt */
+/* Example of single, fixed interval non-maskable, nested interrupt. The interrupt signal is
+ * held high for enough cycles to guarantee that it will be noticed, i.e. longer than
+ * any io access + 4 cycles roughly.
+ */
void _zpu_interrupt(void)
{
/* interrupts are enabled so we need to finish up quickly,
|