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


   > > The implementation of of high resolution timers will probably need to 
rely on MCU HW timer and will be an optional feature.
   > 
   > In that case, there will _have_ to be additional Kconfigs to select which 
HW timer provides this service.
   
   No,  the interface already exist, we don't need new one:
   
https://github.com/apache/incubator-nuttx/blob/master/include/nuttx/arch.h#L1527-L1743
   The above arch functions are enough to implement the high resolution timer.
   Of course, you can add Kconfig in the chip level to select which hardware 
timer should be use to implement these functions.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to