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.

CC3220R定时器

Other Parts Discussed in Thread: CC3220R

CC3220R中关于定时器的这个Timer_PERIOD_HZ参数是秒吗?还有定时器中断能设置最大多久进入一次。

  • Timer_PERIOD_HZ代表每秒中断数
    Enumerator
    Timer_PERIOD_US
    Period specified in micro seconds.

    Timer_PERIOD_HZ
    Period specified in hertz; interrupts per second.

    Timer_PERIOD_COUNTS
    Period specified in ticks or counts. Varies from board to board.
  • 中断间隔最大时间是多少
  • This driver implements half and full width general purpose timers for the CC32XX device. For CC32XX devices, the system clock is 80 MHz and a 16-bit timer has an 8-bit prescaler. The desired period may not always be achieved due to hardware limitations, such as the aforementioned. The timer resolution is limited to 12.5ns due to the 80 MHz clock. A timer period no greater than 209,714us can be achieved when operating in 16-bit mode. Similarly, a period no greater than 53,687,090us can be achieved when operating in 32-bit mode. The same time constraints apply to the 16-bit timer when attempting to use a frequency less than 5 Hertz. For additional details, refer to the device's technical reference manual.