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.

CSL_tmrHwSetup函数



/* Open the timer with the defaults. */

    CSL_tmrHwSetup(hTmr, &hwSetup);

 

The timer has two reset sources: hardware reset and the timer reset bits (TIMLORS and 

TIMHIRS) in the timer global control register (TGCR). 

• When a hardware reset is asserted, all the registers are set to their default values. 

• When TIMLORS is cleared to 0, TSTAT_LO  in TCR is reset to 0 and TOUTL is 

in the high-impedance state. 

• When TIMHIRS is cleared to 0, TS TAT_HI in TCR is reset to 0

上面是示例程序中的一句话,下面是使用手册的说明。

hardware reset就是对应这个函数是不是,如果是的话,他是不是也是用程序控制的,还是板子上有按键

使用按键来完成“硬件设置”,如果这样CSL中的这个函数还能不能在非仿真条件下的板子上跑呢