Hi friends,
I want to get a time, and after some operations, I want to get another time. and finally get the difference of the time.
How can I get this result?
Thank you
With regards to the MSP430 if you are trying to measure the elapsed time between two events - have you tried using the timer in capture mode? The events could be used to trigger a transition in the timer input and the timer counts the number of clocks (and hence the time) between two transitions. For more details read section 12.2.4 of the 2xx Family User Guide http://focus.ti.com/lit/ug/slau144e/slau144e.pdf
---------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------