1375 views|1 replies

3836

Posts

19

Resources
The OP
 

IAR msp430 memory allocation keywords [Copy link]

1. #pragma location="" -- define segment address 2. #pragma vector=USCI_A2_VECTOR (interrupt vector) __interrupt void USCI_A2_ISR(void) -- define interrupt vector and interrupt vector procedure 3. #pragma location=0xfa00 const char a=1; -- store a at 0xfa00

This post is from Microcontroller MCU

Latest reply

You can specify the address of the RAM variable with #pragma location=0xfa00, but you must pay attention to the variable length.  Details Published on 2018-12-25 08:48
 

6366

Posts

4936

Resources
2
 
You can specify the address of the RAM variable with #pragma location=0xfa00, but you must pay attention to the variable length.
This post is from Microcontroller MCU
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list