xiaoxiang781216 commented on pull request #1705:
URL: https://github.com/apache/incubator-nuttx/pull/1705#issuecomment-687576075


   Why we provide two driver interfaces(oneshot_lowerhalf_s v.s. 
timer_lowerhalf_s)? The only reason is that whether the hardware will auto 
clear the timing count, so it's a very important difference. If you read the 
arch_timer.c carefully, you will find that the up_timer_gettime will drift a 
little bit in every interrupt and is unavoidable. Actually, I don't suggest to 
combine arch_timer with tickless mode since the drift is so large to make this 
combination useless.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to