24.3.3.1.4 Input Capture Frequency Measurement Mode

In the Input Capture Frequency Measurement mode, the TCB peripheral captures the counter value and restarts on either a positive or negative edge of the event input signal.

The CAPT interrupt flag is automatically cleared after reading the low byte of the Capture/Compare (TCBn.CCMP) register. When the CNT value is MAX, an OVF interrupt and event are generated.

This mode requires TCB to be configured as an event user and is explained in the Events section.

The figure below illustrates this mode configured to act on a rising edge.

Figure 24-6. Input Capture Frequency Measurement