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.

TMS320F28335: 永磁同步电机控制中断函数的代码问题

Part Number: TMS320F28335

 这是官方提供的测量偏置的代码,第389行:IsrTicker++;IsrTicker的初始值是0,那这行让IsrTicker的值变成1,那距离大于5000差很远啊,还是说难道要进行5000次中断后IsrTicker大于5000了才继续进行?还是这个CCS编程和c语言不同IsrTicker++;的意思是一直自加。