summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/include/kinetis/irq.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-12 19:57:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-12 19:57:12 +0000
commit8e8fff821c980d0f4c5577367395b9c309383bbf (patch)
tree31d11b12613371f8f12594748d67d08a0aa964f5 /nuttx/arch/arm/include/kinetis/irq.h
parentc480cf051db33036d32844865c374dda429c2dba (diff)
downloadnuttx-8e8fff821c980d0f4c5577367395b9c309383bbf.tar.gz
nuttx-8e8fff821c980d0f4c5577367395b9c309383bbf.tar.bz2
nuttx-8e8fff821c980d0f4c5577367395b9c309383bbf.zip
Add Kinetis startup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3874 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/include/kinetis/irq.h')
-rw-r--r--nuttx/arch/arm/include/kinetis/irq.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/arch/arm/include/kinetis/irq.h b/nuttx/arch/arm/include/kinetis/irq.h
index a2a225edc..93cd7d468 100644
--- a/nuttx/arch/arm/include/kinetis/irq.h
+++ b/nuttx/arch/arm/include/kinetis/irq.h
@@ -75,6 +75,8 @@
/* External interrupts (vectors >= 16) */
+#define KINETIS_IRQ_EXTINT (16)
+
/* K40 Family ***********************************************************************
*
* The interrupt vectors for the following parts is defined in Freescale document
@@ -184,7 +186,8 @@
* now) seems to justify the waste.
*/
-# define NR_IRQS (111) /* 111 vectors, 94 interrupts, 111 IRQ numbers */
+# define NR_VECTORS (111) /* 111 vectors */
+# define NR_IRQS (111) /* 94 interrupts but 111 IRQ numbers */
/* K60 Family ***********************************************************************
*
@@ -297,8 +300,8 @@
* now) seems to justify the waste.
*/
-# define NR_IRQS (108)
-# define NR_IRQS (111) /* 120 vectors, 97 interrupts, 108 IRQ numbers */
+# define NR_VECTORS (120) /* 120 vectors */
+# define NR_IRQS (108) /* 97 interrupts but 108 IRQ numbers */
#else
/* The interrupt vectors for other parts are defined in other documents and may or