Windowed Counter Mode

This mode counts pulses on the signal input, within a window dictated by the window input. It begins counting upon seeing a rising edge of the window input, updates the SMTxCPW register on a falling edge of the window input, and updates the SMTxCPR register on each rising edge of the window input after the first. See figures below.

Figure 1. Windowed Counter Mode, Repeat Acquisition Timing Diagram
Figure 2. Windowed Counter Mode, Single Acquisition Timing Diagram