Hi Jonathan Smith
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Can this be done with the SCT timer?
-- Yes, it's available.
2) how to implement it?
-- In the event control register, it supports to arise an event by detecting the edge or level changing of the input pin, when an event happens, it can trigger an interrupt occurs, in the interrupt function, record the input pulse is definitely available.
In further, I've attached an application note which demonstrates a collection of examples and usage notes for the
SCTimer/PWM block used in NXP microcontrollers, please refer to it for details.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------