Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP430 irq handlers and vectors with gcc

$
0
0
[quote user="FAB63476"] Hi! I just wondering if it is possible for define all the irq handlers array in c and placing it at the reset vector address: something like is defined for arm. void (* const g_pfnVectors[])(void) = { reset_handler, other_irq_handler, dummy_handler, .... }; [/quote] But the ARM hardware has its reset vector at the low end of addresses and other interrupt vectors at higher and higher addresses. While MSP430 hardware has its reset vector at the higher end of addresses. So what comes naturally for ARM may be awkward for MSP430.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>