This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

28335编程:可以将变量定义在片内FLASH,将片内FLASH作为非易失的存储器使用吗?

Other Parts Discussed in Thread: CONTROLSUITE

程序中有定义了一个数组CTRLDATA存储一些关键的数据,希望能够在程序上电后从片内FLASH中读出这些关键的数据,并且在程序运行过程中更新这个数组;在下次上电时还能够重新调用。

利用#PRAGMA DATA_SECTION();语句可以实现上述的功能吗?