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
This commit is contained in:
isiora 2017-08-14 09:10:38 +00:00
parent f4d5d1c0ad
commit ccbb6cb153
1 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,14 @@
/* Driver macros. */
/*===========================================================================*/
/**
* @brief Acknowledge the current interrupt.
*
*/
#define aicAckInt() { \
SAIC->AIC_EOICR = AIC_EOICR_ENDIT; \
}
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/