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:
parent
f4d5d1c0ad
commit
ccbb6cb153
|
@ -45,6 +45,14 @@
|
|||
/* Driver macros. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Acknowledge the current interrupt.
|
||||
*
|
||||
*/
|
||||
#define aicAckInt() { \
|
||||
SAIC->AIC_EOICR = AIC_EOICR_ENDIT; \
|
||||
}
|
||||
|
||||
/*===========================================================================*/
|
||||
/* External declarations. */
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue