aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/aic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/aic.h b/os/hal/ports/SAMA/SAMA5D2x/aic.h
index eff492e66..92a924b31 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/aic.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/aic.h
@@ -45,6 +45,14 @@
/* Driver macros. */
/*===========================================================================*/
+/**
+ * @brief Acknowledge the current interrupt.
+ *
+ */
+#define aicAckInt() { \
+ SAIC->AIC_EOICR = AIC_EOICR_ENDIT; \
+}
+
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/