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.

怎么将TBCRT寄存器里的值读出来



我用F2809的DSP,ccs5.2,我现在想将PWM外设中的TBCRT这个计数器寄存器里的值读出来放在一个数组了,,该怎么写程序呢,

 SendChar[1]=EPwm1Regs.TBCTR;

这是我写的,,可是编译器报错了!

有那位知道,请指点指点,谢谢!