178
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
(5) Square-wave outputTM0 can output a square wave with any selected frequency.Table 8-3. 16-Bit Timer/Event Counter Square-Wave Output Ranges
Minimum Pulse Width Maximum Pulse Width Resolution
MCS = 1 MCS = 0 MCS = 1 MCS = 0 MCS = 1 MCS = 0
2 × TI00 input cycle 216 × TI00 input cycle TI00 input edge cycle
2 × 1/fX216 × 1/fX1/fX
(400 ns) (13.1 ms) (200 ns)
2 × 1/fX22 × 1/fX216 × 1/fX217 × 1/fX1/fX2 × 1/fX
(400 ns) (800 ns) (13.1 ms) (26.2 ms) (200 ns) (400 ns)
22 × 1/fX23 × 1/fX217 × 1/fX218 × 1/fX2 × 1/fX22 × 1/fX
(800 ns) (1.6
µ
s) (26.2 ms) (52.4 ms) (400 ns) (800 ns)
23 × 1/fX24 × 1/fX218 × 1/fX219 × 1/fX22 × 1/fX23 × 1/fX
(1.6
µ
s) (3.2
µ
s) (52.4 ms) (104.9 ms) (800 ns) (1.6
µ
s)
2 × watch timer output cycle 216 × watch timer output cycle Watch timer output edge cycle
Remarks 1. fX: Main system clock oscillation frequency2. MCS: Oscillation mode selection register (OSMS) bit 03. Values in parentheses when operated at fX = 5.0 MHz(6) One-shot pulse outputTM0 is able to output one-shot pulse which can set any width of output pulse.
———