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.

dsp28379s的TIME1和TIME2如何使用?

Other Parts Discussed in Thread: CONTROLSUITE

想加一路通用定时器,查阅资料,TIME1和TIME2都是为操作系统准备的,但是不移植操作系统时是可以当通用定时器用,但是在配置中断,相关资料上都只看到了TIME0的,TIME1和TIME2的不知该如何使用?有相关例程么?

  • 看看controlsuite里面提供的定时器例程有吗
  • ”想加一路通用定时器,查阅资料,TIME1和TIME2都是为操作系统准备的,但是不移植操作系统时是可以当通用定时器用,但是在配置中断,相关资料上都只看到了TIME0的,TIME1和TIME2的不知该如何使用?有相关例程么?“
    ERIC:

    CPU-Timer0 and CPU-Timer1 can be used in user applications. CPU-Timer2 is reserved for real-time
    operating system uses (for example, TI-RTOS). If the application is not using an operating system that
    utilizes this timer, then CPU-Timer2 can be used in the application.

    TIME1和TIMER2是直接用到中断13和中断14.
    INT13 13 0x0000 0D1A 2 CPU TIMER1 Interrupt 17 -
    INT14 14 0x0000 0D1C 2 CPU TIMER2 Interrupt (for 18