aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/ARM/devices/LPC214x/armparams.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/ports/ARM/devices/LPC214x/armparams.h')
-rw-r--r--os/common/ports/ARM/devices/LPC214x/armparams.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/common/ports/ARM/devices/LPC214x/armparams.h b/os/common/ports/ARM/devices/LPC214x/armparams.h
index b57855e1c..05ce875ec 100644
--- a/os/common/ports/ARM/devices/LPC214x/armparams.h
+++ b/os/common/ports/ARM/devices/LPC214x/armparams.h
@@ -51,10 +51,14 @@
*/
#define ARM_WFI_IMPL (PCON = 1)
+#if !defined(__FROM_ASM__) || defined(__DOXYGEN__)
/**
* @brief Address of the IRQ vector register in the interrupt controller.
*/
+#define ARM_IRQ_VECTOR_REG 0xFFFFF030U
+#else
#define ARM_IRQ_VECTOR_REG 0xFFFFF030
+#endif
#endif /* _ARMPARAMS_H_ */