mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
mps:Supplement the interrupt definition about nvic
Signed-off-by: anjiahao <anjiahao@xiaomi.com> Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
#define NVIC_SYSH_PRIORITY_MIN 0xe0 /* Bits [7:5] set in minimum priority */
|
||||
#define NVIC_SYSH_PRIORITY_DEFAULT 0x80 /* Midpoint is the default */
|
||||
#define NVIC_SYSH_PRIORITY_STEP 0x10 /* Steps between priorities */
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
|
||||
@@ -50,8 +50,6 @@
|
||||
|
||||
#define MPS_IRQ_FIRST (16) /* Vector number of the first external interrupt */
|
||||
|
||||
#define NVIC_SYSH_PRIORITY_DEFAULT (0x80) /* Midpoint is the default */
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
Reference in New Issue
Block a user