This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can I define an array variable in absolute address of code memory?

It's somewhat like look-up table of assembly. I defined an array in header file of C program like this:
unsigned char code volt_2_freq[5]=
{ 100, 200, 300, 400, 500 };
Can I put it in a specific address of code memory ?
I use Phillip LPC900 series MCU and want to set security bits of "MOVC disable" in certain program memory blocks which the array can't be put in.
Does keyword "_at_" work ?
Thanks~

willy

0