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.

测定CLA程序所消耗的时间



最近想测试CLA程序所消耗的时间,思路是这样的:设定DSP28035的某个PIN脚设定为GPIO口模式,初始将GPIO口拉高,在进入TASK1后,有如下语句:

   MEALLOW    

MMOVI32 MR1, #0x00000400   

  MMOV32 @_GpioDataRegs.GPATOGGLE, MR1

 MEDIS

即将GPIO10拉低,在TASK1 MSTOP之前重复上述语句,几将GPIO10拉高,这样GPIO10 低电平的事间即为TASK1任务所消耗的时间,但在示波器上,GPIO10没有任何电平的变化,请问我这种思路对吗,上述语句有无任何错误?请教与各位高手。望各位不吝赐教,小弟先行谢过!