m. Frequency and impulse width measurement