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.

[参考译文] CCS/TMS320F280049:参数"TBZ"和"DCBEVT1/2"在"ePWM_setTripZoneAction()"

Guru**** 2539500 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/908325/ccs-tms320f280049-difference-between-arguments-tzb-and-dcbevt1-2-in-epwm_settripzoneaction

器件型号:TMS320F280049

工具/软件:Code Composer Studio

各位专家:

假设"TZ1 - TZ6  不存在"、 我认为

 

1。

ePWM_setTripZoneAction (EPWM8_BASE、ePWM_TZ_ACT_EVENT_TSZePWM_TZ_ACT_DISABLE);

 

   

2.

ePWM_setTripZoneAction (EPWM8_BASE、ePWM_TZ_ACT_EVENT_DCBEVT1、ePWM_TZ_ACT_DISABLE);

ePWM_setTripZoneAction (EPWM8_BASE、ePWM_TZ_ACT_EVENT_DCBEVT2、ePWM_TZ_ACT_DISABLE);

(2行)。

 

具有相同的功能、但最终在我的代码…中生成了不同的波形

是否有人知道上述(1)和(2)之间的区别?

================================================================

epwm.h 包含以下行:

" ePWM_TZ_ACT_EVENT_TSZB = 2、    //!< TZ1 - TZ6、DCBEVT2、DCBEVT1

ePWM_TZ_ACT_EVENT_DCAEVT1 = 4、//!< DCAEVT1 (数字比较 A 事件1)"

  • ePWM_TZ_ACT_EVENT_DCAEVT1是否意味着发生了 DCAEVT1?
  • ePWM_TZ_ACT_EVENT_TZA 是指  发生了 TZ1 - TZ6、DCAEVT2还是 DCAEVT1?