Created Sat, 18 Jun 2011 11:38:40 +0000 by Mark
Sat, 18 Jun 2011 11:38:40 +0000
Below is a dump of interrupt vectors on the mega32. This is a good display on how they are organized and which ones are used or not
Arduino-32MX795F512L>V show interrupt Vectors
FLASH_PROG_BASE=9D000000
EBASE =9D000000
IntCtl =00000020
VectorSpacing =00000001
+++ 0= 02 00---0B4017F0 jump 9D005FC0 _CORE_TIMER_VECTOR
+++ 1= 00 00---FFFFFFFF unused _CORE_SOFTWARE_0_VECTOR
+++ 2= 00 00---FFFFFFFF unused _CORE_SOFTWARE_1_VECTOR
+++ 3= 00 00---FFFFFFFF unused _EXTERNAL_0_VECTOR
+++ 4= 00 00---0B401E5A jump 9D007968 _TIMER_1_VECTOR
+++ 5= 00 00---FFFFFFFF unused _INPUT_CAPTURE_1_VECTOR
+++ 6= 00 00---FFFFFFFF unused _OUTPUT_COMPARE_1_VECTOR
+++ 7= 00 00---FFFFFFFF unused _EXTERNAL_1_VECTOR
+++ 8= 00 00---FFFFFFFF unused _TIMER_2_VECTOR
+++ 9= 00 00---FFFFFFFF unused _INPUT_CAPTURE_2_VECTOR
+++10= 00 00---FFFFFFFF unused _OUTPUT_COMPARE_2_VECTOR
+++11= 00 00---FFFFFFFF unused _EXTERNAL_2_VECTOR
+++12= 00 00---FFFFFFFF unused _TIMER_3_VECTOR
+++13= 00 00---FFFFFFFF unused _INPUT_CAPTURE_3_VECTOR
+++14= 00 00---FFFFFFFF unused _OUTPUT_COMPARE_3_VECTOR
+++15= 00 00---FFFFFFFF unused _EXTERNAL_3_VECTOR
+++16= 00 00---FFFFFFFF unused _TIMER_4_VECTOR
+++17= 00 00---FFFFFFFF unused _INPUT_CAPTURE_4_VECTOR
+++18= 00 00---FFFFFFFF unused _OUTPUT_COMPARE_4_VECTOR
+++19= 00 00---FFFFFFFF unused _EXTERNAL_4_VECTOR
+++20= 00 00---FFFFFFFF unused _TIMER_5_VECTOR
+++21= 00 00---FFFFFFFF unused _INPUT_CAPTURE_5_VECTOR
+++22= 00 00---FFFFFFFF unused _OUTPUT_COMPARE_5_VECTOR
+++23= 00 00---FFFFFFFF unused _SPI_1_VECTOR
+++24= 00 00---0B401B67 jump 9D006D9C _I2C_3_VECTOR _UART_1A_VECTOR _UART_1_VECTOR _SPI_1A_VECTOR _I2C_1A_VECTOR _SPI_3_VECTOR
+++25= 01 00---FFFFFFFF unused _I2C_1_VECTOR
+++26= 00 00---FFFFFFFF unused _CHANGE_NOTICE_VECTOR
+++27= 01 00---FFFFFFFF unused _ADC_VECTOR
+++28= 00 00---FFFFFFFF unused _PMP_VECTOR
+++29= 00 00---FFFFFFFF unused _COMPARATOR_1_VECTOR
+++30= 00 00---FFFFFFFF unused _COMPARATOR_2_VECTOR
+++31= 00 00---0B401BDD jump 9D006F74 _UART_2A_VECTOR _I2C_2A_VECTOR _SPI_2_VECTOR _SPI_2A_VECTOR _I2C_4_VECTOR _UART_3_VECTOR
+++32= 00 00---0B401C53 jump 9D00714C _UART_2_VECTOR _SPI_3A_VECTOR _I2C_3A_VECTOR _UART_3A_VECTOR _SPI_4_VECTOR _I2C_5_VECTOR
+++33= 00 00---FFFFFFFF unused _I2C_2_VECTOR
+++34= 00 00---FFFFFFFF unused _FAIL_SAFE_MONITOR_VECTOR
+++35= 01 00---FFFFFFFF unused _RTCC_VECTOR
===36= 00 00---FFFFFFFF unused _DMA_0_VECTOR
===37= 00 00---FFFFFFFF unused _DMA_1_VECTOR
===38= 00 00---FFFFFFFF unused _DMA_2_VECTOR
===39= 00 00---FFFFFFFF unused _DMA_3_VECTOR
===40= 00 00---FFFFFFFF unused _DMA_4_VECTOR
===41= 00 00---FFFFFFFF unused _DMA_5_VECTOR
===42= 00 00---FFFFFFFF unused _DMA_6_VECTOR
===43= 00 00---FFFFFFFF unused _DMA_7_VECTOR
===44= 00 00---FFFFFFFF unused _FCE_VECTOR
===45= 00 00---FFFFFFFF unused _USB_1_VECTOR
===46= 00 00---FFFFFFFF unused _CAN_1_VECTOR
===47= 00 00---FFFFFFFF unused _CAN_2_VECTOR
===48= 00 00---FFFFFFFF unused _ETH_VECTOR
===49= 00 00---0B401BA2 jump 9D006E88 _UART_4_VECTOR _UART_1B_VECTOR
===50= 00 00---0B401C18 jump 9D007060 _UART_6_VECTOR _UART_2B_VECTOR
===51= 00 00---0B401C8E jump 9D007238 _UART_5_VECTOR _UART_3B_VECTOR
Sun, 10 Jul 2011 20:42:41 +0000
Make it sticky please.
Sun, 10 Jul 2011 23:42:17 +0000
Wiki: http://www.chipkit.org/wiki/index.php?title=Interrupt_Vectors
Mon, 11 Jul 2011 10:58:07 +0000
Cool, thanks!