Hi Ken Su,
Actually, the GPIO key hold is the basic operation method for all the MCU.
LPC1830 have no special hardware feature for the key hold. You can use the hardware key dithering or the software key dithering.
You said you implement the interrupt, timer or polling to detect it, actually, in the freeRtos, the method is still the same for the key hold or key dithering.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------