Hi,

I submitted a header file for the MSP430x12x2 processors last week, but I got two of the interrupt vectors wrong - the ADC10 was missing, and the the comparator should not have been there. The following should fix that.

Regards,
Steve

--- old.h       Tue Aug 27 21:46:54 2002
+++ msp430x12x2.h       Tue Aug 27 21:55:27 2002
@@ -56,15 +56,15 @@
#define USPIE0              0x01
#define UTXE0               0x02

#define PORT1_VECTOR        4  //      2 * 2  /* 0xFFE4 Port 1 */
#define PORT2_VECTOR        6  //      3 * 2  /* 0xFFE6 Port 2 */
+#define ADC10_VECTOR        10 //      5 * 2  /* 0xFFEA ADC 10 */
#define UART0TX_VECTOR      12 //      6 * 2  /* 0xFFEC UART 0 Transmit */
#define UART0RX_VECTOR      14 //      7 * 2  /* 0xFFEE UART 0 Receive */
#define TIMERA1_VECTOR 16 // 8 * 2 /* 0xFFF0 Timer A CC1-2, TA */
#define TIMERA0_VECTOR      18 //      9 * 2  /* 0xFFF2 Timer A CC0 */
#define WDT_VECTOR          20 //      10 * 2 /* 0xFFF4 Watchdog Timer */
-#define COMPARATORA_VECTOR  22 //      11 * 2 /* 0xFFF6 Comparator A */
#define NMI_VECTOR          28 //      14 * 2 /* 0xFFFC Non-maskable */



Reply via email to