diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-04-15 15:42:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-04-15 15:42:34 +0000 |
commit | f1ae9df82658d2e29402c931b098336909f772a3 (patch) | |
tree | 672a0dc6cf8025ee7eb69af905f724f02671a912 /ports/ARMCM3/nvic.h | |
parent | 2da330780e25ff1a1df4e18277bb2230437be5d5 (diff) | |
download | ChibiOS-f1ae9df82658d2e29402c931b098336909f772a3.tar.gz ChibiOS-f1ae9df82658d2e29402c931b098336909f772a3.tar.bz2 ChibiOS-f1ae9df82658d2e29402c931b098336909f772a3.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@266 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARMCM3/nvic.h')
-rw-r--r-- | ports/ARMCM3/nvic.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ports/ARMCM3/nvic.h b/ports/ARMCM3/nvic.h index 746a8b740..0cb4cc36b 100644 --- a/ports/ARMCM3/nvic.h +++ b/ports/ARMCM3/nvic.h @@ -114,15 +114,15 @@ typedef struct { #define SCB_AFSR (SCBBase->AFSR)
#define ICSR_VECTACTIVE_MASK (0x1FF << 0)
-#define ICSR_RETTOBASE_MASK (0x1 << 11)
+#define ICSR_RETTOBASE (0x1 << 11)
#define ICSR_VECTPENDING_MASK (0x1FF << 12)
-#define ICSR_ISRPENDING_MASK (0x1 << 22)
-#define ICSR_ISRPREEMPT_MASK (0x1 << 23)
-#define ICSR_PENDSTCLR_MASK (0x1 << 25)
-#define ICSR_PENDSTSET_MASK (0x1 << 26)
-#define ICSR_PENDSVCLR_MASK (0x1 << 27)
-#define ICSR_PENDSVSET_MASK (0x1 << 28)
-#define ICSR_NMIPENDSET_MASK (0x1 << 31)
+#define ICSR_ISRPENDING (0x1 << 22)
+#define ICSR_ISRPREEMPT (0x1 << 23)
+#define ICSR_PENDSTCLR (0x1 << 25)
+#define ICSR_PENDSTSET (0x1 << 26)
+#define ICSR_PENDSVCLR (0x1 << 27)
+#define ICSR_PENDSVSET (0x1 << 28)
+#define ICSR_NMIPENDSET (0x1 << 31)
#define AIRCR_VECTKEY 0x05FA0000
#define AIRCR_PRIGROUP_MASK (0x7 << 8)
|