What I’m trying to do is sample a digital signal with an I/O pin. I want to reject low frequency pulses and get the leading edge of the high frequency pulses. I understand Nyquist so I need to know what pin/peripheral is going to give me my highest sampling rate? I can change pins but I really can’t add any more hardware to solve the problem. I only need to sample the leading edge.