Glitch filter on mega 2560?

Found glitch register settings when googled, but only for sam3x processors (due?)

Need some sort of glitch filter for a very sensitive interrupt. Filter out signals that are shorter than say 5uS.

Edit crap, got this post in wrong section. Please move