请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC2652R7 我需要声明一些在复位时不会初始化为零的变量。 我在 cc2657r7手册中找到以下说明:
"还有一个4KB 超低泄漏 SRAM 可与传感器控制器引擎配合使用、该 SRAM 通常用于存储传感器控制器程序、数据和配置参数。 系统 CPU 也可以访问此 RAM。 在系统复位之间、传感器控制器 RAM 不会被清零。"
我使用 IAR 编译器。 您能告诉我如何声明变量吗? 我尝试使用 Sensor Controller Studio 来声明它们。 但是、在我启动和停止传感器控制器的任务时、变量会被销毁。
谢谢
V·N·