100ns pulses

That 100ns means you have 10 million pulses per second and 20 million changes per second. The Duo is running at 84MHz. You can't do it with 4 clock cycles.