timer overflow checking?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

timer overflow checking?

619 Views
koonyook
Contributor I

I'm working on LPC54102 and I use timestamp from StopWatch_Start() which return 32 bit data.

How do I know when the time overflow happen? Is there any interrupt for that?

Tags (1)
0 Kudos
Reply
1 Reply

407 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Prayook,

The timer can only generate interrupts on match or capture events, the overflow event does not cause an interrupt, but a match register can be used to detect an overflow if needed.

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply