21.1.6.11 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 the figures below.
![](GUID-8CF36FDB-1A22-4EF3-B690-987D5FF98FEA-low.png)
![](GUID-FFFF397C-CFF9-4315-B8C5-DA70D3DB9BEE-low.png)