Modes of Operation

The modes of operation are mentioned in the table below. The following sections provide descriptions and examples of how the modes can be used. Note that all waveforms assume WPOL/SPOL/CPOL = 0. For all modes, the REPEAT bit controls whether the acquisition is repeated or single. When REPEAT = 0 (Single Acquisition mode), the timer will stop incrementing and the SMTxGO bit will be reset upon the completion of an acquisition. Otherwise, the timer will continue and allow for continued acquisitions to overwrite the previous ones until the timer is stopped in software.

Table 1. Modes of Operation
MODE Mode of operation Synchronous operation
0000 Timer Yes
0001 Gated Timer Yes
0010 Period and Duty Cycle Measurement Yes
0011 High and low time Measurement Yes
0100 Windowed Measurement Yes
0101 Gated Windowed Measurement Yes
0110 Time of Flight Measurement Yes
0111 Capture Yes
1000 Counter No
1001 Gated Counter No
1010 Windowed Counter No
1011-1111 Reserved -