I haven't seen such an API, but there are many ways to solve your problem, for example, you can use a timer, such as FTM and LPIT, etc. then use a variable to record the count value, and observe the current count value after your two actions are completed, so that you can accurately get the time difference between the two actions
I haven't seen such an API, but there are many ways to solve your problem, for example, you can use a timer, such as FTM and LPIT, etc. then use a variable to record the count value, and observe the current count value after your two actions are completed, so that you can accurately get the time difference between the two actions