Team,
I need to configure the on board USER Switch(SW2) to get interrupt on rising or falling edges with some values (like ~10ms).
I mean to say when signal getting start taking edge form, till 10ms it will not read button pressed as an interrupt once 10ms get passed it will get interrupt.
As per data sheet we can configure 8 pins, but my question is -
Is it possible to configure the same with some default value like in STM Microcontroller ?
If yes, any pointer how can i configure it.
I appreciate your support here!
Thank You!
Hi,
You can use a timer to trigger an event as wish if you start the timer after you get the interrupt from the SW button. You can find several examples for pin interrupts and timers that you can use for reference in our MCUXpresso SDK.
Welcome | MCUXpresso SDK Builder
Best regards,
Felipe
-------------------------------------------------------------------------------
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.
------------------------------------------------------------------------------