Mbed-os 6.17 doesn't have the Interrupt Clear function in Interrupt class?

Hello! These days I’m studying and building programs to create an interrupt function to click the joystick button and turn on/off the LED on the Mbed LPC1768. But I found that the button will generate a lot of rise signal and trigger lot of interrupt. I use the enable() and disable() function but the existing interrupt state caused by button 's vibrating is still alive. But I didn’t find the clear() function from the Interrupt class in mbed-os. I think that’s a big mistake for an RTOS. How to clear the intrrupt of the corresponding GPIO port_pin? Will the mbed-os add the clear() function into the Interrupt class in the next version?

Hello,

There will be not future releases under ARM Mbed - Important update on Mbed - End of Life - Mbed OS - Arm Mbed OS support forum

What should the Clear method do? Because how you exactly wrote, the button generates, so the issue is in hardware and it is not issue of Mbed.
The class/driver is called InterruptIn because it is for manage interrupts in general, not only for a button which has specific behavior ( Switch Bounce and How to Deal with It - Technical Articles (allaboutcircuits.com)) but also for sensors or another devices what are capable to geerate exact square signal.
In general you are responsible to make a choose what will be adapted - Software to Hardware or vice versa.

BR, Jan