The high resolution can be used to increase the resolution of the waveform
generation output from a timer/counter by four or eight. It can be used for a timer/counter
doing frequency, Single-Slope PWM, or Dual-Slope PWM generation. It can also be used with
the WEX if used for the same timer/counter.
The high-resolution extension uses a clock source of 4x: In 4x mode, the
rising edges are counted, and to obtain 8x, both edges are counted.
Table 23-4. High-Resolution Influence on Counter and Waveform
HREN
LSbs used for
Hi-Res
Counter
inc/dec
fFRQ
fSS
fDS
OFF
0
±1
4X
2
±4
8X
3
±8
The LSbs of the timer/counter period register must be set to zero to
ensure correct operation. If the count register is read from the application code, the LSb
will always be read as zero since the timer/counter runs from the peripheral clock. The
LSbs are also ignored when generating events.
The TCE in High Resolution mode will not output any pulse shorter than one
peripheral clock cycle; i.e., a compare value lower than four will have no visible
output.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.