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.

[参考译文] TMS320F28377S:关于 PIEACK CLEAR

Guru**** 2455560 points
Other Parts Discussed in Thread: CONTROLSUITE

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/704916/tms320f28377s-about-pieack-clear

器件型号:TMS320F28377S
Thread 中讨论的其他器件:controlSUITE

您好、al、

以下两个 ISR 具有不同的 PIEACK 清除方法。

建议使用哪种方法(1)或(2)?

(1) C:\ti\controlSUITE\device_support\F2837xS\V210\F2837xS_Examples_CPU1\USB_dev_bulk\cpu01\USB_dev_bulk.c

_interrupt void
SysTickIntHandler (空)

//
//更新我们的系统节拍计数器。
//
G_ui32SysTickCount++;
PieCtrlRegs.PIEACX.ALL |= 1;

(2) C:\ti\controlSUITE\device_support\F2837xS\V210\F2837xS_Examples_CPU1\watchdog\cpu01\watchdog_cpu01.c

_interrupt void WAKEINT_ISR (void)

WakeCount++;

//
//确认此中断以从组1获取更多内容
//
 PieCtrlRegs.PIEACX.ALL = PIEACK_Group1;

此致、

Sasaki

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    在 PIEACK 寄存器中忽略0写入、因此这两种方法都在执行该任务。 与方法2中的直接写入相比、方法2更好、因为方法1执行不必要的 RMW。

    谢谢
    Vasudha
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Vasudha-San、您好!

    感谢您的支持。
    我明白了。

    此致、
    Sasaki