I'm working on a project that a series of duty cycles must be measured. A sample of related waveforms is displayed below: As you can see from the signal, the frequency is too high, and calculating it using bit functions is impossible. In the controll...