我无法从 CLA 任务中读取 AdcaResultRegs.ADCRESULT0。
中断空 Cla1Task2 (空)
{
易失性浮点温度;
temp=(float) AdcaResultRegs.ADCRESULT1;
_settIL2=temp;
}

如何 从 CLA 任务中将数据写入 AdcaRegs.ADCINTFLGCLR.bit.ADCINT2?
我尝试将 CpuSysRegs.SECMSEL 设置为零、但 ADCINT2标志不会从 CLA 任务中清除。

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.
我无法从 CLA 任务中读取 AdcaResultRegs.ADCRESULT0。
中断空 Cla1Task2 (空)
{
易失性浮点温度;
temp=(float) AdcaResultRegs.ADCRESULT1;
_settIL2=temp;
}

如何 从 CLA 任务中将数据写入 AdcaRegs.ADCINTFLGCLR.bit.ADCINT2?
我尝试将 CpuSysRegs.SECMSEL 设置为零、但 ADCINT2标志不会从 CLA 任务中清除。

您好 Ashwini Athalye 。 我尝试在 CLA 任务中在 EPwm6Regs.CMPA.bit.CMPA 中写入数据。
中断空 Cla1Task2 (空)
{
volatile float bbbbbbbbbb=100;
EPwm6Regs.CMPA.bit.CMPA=(uint16_t) bbbb;
}
结果为:

在 CLA 任务中写入数据需要反汇编。

我了解如何在 CLA 任务中读取数据。 本文 e2e.ti.com/.../ccs-tms320f28377s-read-adc-results-in-cla-task 对此进行了介绍
我在 https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/378070/f28377d-cla-read-adc-result-problem 上发现了同一问题。 当我包含 头文件"F2837xD_CLA_typedefs.h"时、问题已解决。