equency of the external signal is computed.</p>
<p>The “uwFrequency” variable contains the external signal frequency: uwFrequency = TIM1 counter clock / uwDiffCapture (Hz), where “uwDiffCapture” is the difference between two consecutive TIM1 captures.</p>
<p>The minimum frequency value to measure is TIM1 counter clock / CCR MAX = (SystemCoreClock) / 65535</p>
<p>Due to TIM1 CC IRQHandler processing time (around 4ns), the maximum frequency value to measure is around 700kHz.</p>
<p>LED3 is ON when the