Skip to content

Commit 575844a

Browse files
Fix-Pointxiaoxiang781216
authored andcommitted
clkcnt: Add clockcount abstraction.
This commit added the clkcnt abstraction. Clkcnt is used to abstract the cycle counter of hardware timer, which can represent almost all existing timers. Time conversion through API provided by clkcnt can avoid any timing conversion problem (multiplication overflow, division precision loss, etc.). Signed-off-by: ouyangxiangzhen <[email protected]>
1 parent 152c66d commit 575844a

File tree

1 file changed

+464
-0
lines changed

1 file changed

+464
-0
lines changed

0 commit comments

Comments
 (0)