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.

[参考译文] TMS320F28388D:难以理解变量的设置位置

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1653251/tms320f28388d-having-difficulty-understanding-where-a-variable-is-set

器件型号: TMS320F28388D

我使用 TI 代码进行 TIDM1000 Vienna 整流器的评估设计。  有一个变量我似乎找不到它的设置位置。  “Vienna_boardState“是一个在“Watch“(观察)窗口中显示为= 5 的枚举、但该枚举只会上升到 TripCondition = 2。  我搜索了此 var、只能在 vienna.c 中发现其已初始化为 = PowerStageOFF = 0。  此 var 在运行时设置在哪里?