Gated Counter Mode

This mode counts pulses on the signal input, gated by the window input. It begins incrementing the timer upon seeing a rising edge of the window input and updates the SMTxCPW register upon a falling edge on the window input. See figures below.

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