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.

关于TMS320F2803x的HRCAP的时钟

Other Parts Discussed in Thread: CONTROLSUITE

在TI的技术文档TMS320x2803x Piccolo High Resolution Capture (HRCAP) User's Guide中

HRCAPxENCLK的这个标志在哪个寄存器里啊?PCLKCR0 ,PCLKCR1 ,PCLKCR3 中都没有啊

  • Cai,

    你查看一下例程:C:\ti\controlSUITE\device_support\f2803x\v127\DSP2803x_examples_ccsv5\hrcap_capture_pwm

    这个标志位是在PCLKCR2中的。  

    SysCtrlRegs.PCLKCR2.bit.HRCAP1ENCLK = 1;   

    SysCtrlRegs.PCLKCR2.bit.HRCAP2ENCLK = 1;

    Eric

  • 恩,谢谢,这个已经发现了,现在就是奇怪为什么不做到技术文档里?这个应该是通用的东西.

  • 为什么更新后的指南文档没有SysCtrlRegs.PCLKCR3.bit.GPIOINENCLK 这一位呢?

x 出现错误。请重试或与管理员联系。