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.

关于定时器较长时间定时



16 位定时器如果要达到长时间定时比如几小时的话

1.如果1s一次中断在中断程序中设置参数来控制多少秒这样的想法会不会由于频繁的压栈入栈导致功耗很大;

2.一个定时器输出PWM波,作为另一个定时器的输入时钟,这样IO频繁拉低拉高功耗也会很大

有没有更好的想法?没有的话,上面方法1方法2哪个更省电异一点