External Clock as input

Measuring externally generated PWM signal up to 20MHz can be done on Due with antodom's tc_lib:
https://forum.arduino.cc/index.php?topic=393842.msg3086694#msg3086694