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.
我能否在单个 halcogen 的1ms 中断周期内创建一个500ms 计数器、而无需在 main.c 中进行编码?
我正在使用示例代码(RTI 闪烁)。
我想使500ms 计数器没有更改代码。
如果要更改时钟周期、需要使用 RTI.c 中定义的函数重置更新比较寄存器中的值:
rtiSetPeriod (0、5000000); ->比较0、如果计数器频率为10MHz、则为500ms