Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22138

CCS/MSP430G2553: how to #Pragma Vector using decimals

$
0
0

Part Number:MSP430G2553

Tool/software: Code Composer Studio

I am using MSP430G2553 MCU with CCS latest. My SW1 (P1.3) triggers an interrupt and the LEDs blink for that event.

I am interested in programming the #Pragma Vector = PORT1_VECTOR without using the words " PORT1_VECTOR" but using the datasheet given address 0FFE4. 

I wrote,

#Pragma Vector = 0FFE4

__interrupt void PORT1_ISR (void) {

//blink LEDS

but this doesnt work.

This question is for educational purposes. I would really appreciate an explanatory answer. 

Thank you so much.


Viewing all articles
Browse latest Browse all 22138

Trending Articles



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