diff options
author | isiora <none@example.com> | 2017-08-14 09:10:38 +0000 |
---|---|---|
committer | isiora <none@example.com> | 2017-08-14 09:10:38 +0000 |
commit | ccbb6cb153f1740d870c63ee86fc9db13c749784 (patch) | |
tree | fb766767810986f06a7c0b103080537cc5a747ff /os/hal/ports | |
parent | f4d5d1c0ad311a2f04fbb8149cd403459b5d9fd9 (diff) | |
download | ChibiOS-ccbb6cb153f1740d870c63ee86fc9db13c749784.tar.gz ChibiOS-ccbb6cb153f1740d870c63ee86fc9db13c749784.tar.bz2 ChibiOS-ccbb6cb153f1740d870c63ee86fc9db13c749784.zip |
Added a macro to acknowledge the current interrupt.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10424 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports')
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/aic.h | 8 |
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. */
/*===========================================================================*/
|