27.1.6 Modes of Operation
The modes of operation are summarized in the table below. The sections
following the table provide descriptions and examples of how each mode can be used. Note
that all waveforms assume WPOL/SPOL/CPOL = 0
.
For all modes, the REPEAT bit controls whether the acquisition happens only once or
is repeated. When REPEAT = 0
(Single Acquisition mode), the timer will
stop incrementing and the GO bit will be cleared 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 by software.
MODE | Mode of Operation | Synchronous Operation |
---|---|---|
1111-1011 |
Reserved | - |
1010 |
Windowed Counter | No |
1001 |
Gated Counter | No |
1000 |
Counter | No |
0111 |
Capture | Yes |
0110 |
Time of Flight Measurement | Yes |
0101 |
Gated Windowed Measurement | Yes |
0100 |
Windowed Measurement | Yes |
0011 |
High and Low Time Measurement | Yes |
0010 |
Period and Duty Cycle Measurement | Yes |
0001 |
Gated Timer | Yes |
0000 |
Timer | Yes |