CMT2380F17
Rev0.1 | 159/347
www.cmostek.com
16.3.4
Timer 3 Mode 3 (Capture and Auto-Zero)
Timer 3 Mode 3 is the similar function with Timer 3 Mode 2. There is one difference that the T3EXES,
EXF3 event set signal, not only is the capture source of Timer 3 but also clears the content of TL3
and TH3 to 0x0000H.
Figure 16-30. Timer 3 Mode 3 Structure (Capture with Auto-Zero on TL3 & TH3)
16.3.5
Split Timer 3 Mode 0 (Auto-Reload and External Interrupt)
When T3SPL is set in this mode, Timer 3 operates as two 8-bit timers (TH3 and TL3). Both 8-bit timers
operate
in up counter as shown in Figure Figure 16
–31 . TH3 holds the reload value for RCAP3H and keep the
same 8 clock source inputs selection as 16-bit mode. It behaves the 8-bit function liked Timer 3 Mode 0 in
16-bit mode. TL3 holds the reload value for RCAP3L with 4 clock inputs selection. The TR3 bit in T3CON
handles the run control for TH3. The TR3L bit in T3MOD handles the run control for TL3. And TH3 overflow
can stop the TR3L running when TR3LC is set.
There are 3 interrupt flags in split mode, EXF3, TF3 and TF3L. EXF3 has the same function as 16-bit
mode to detect the transition on T3EXI. TF3 is set when TH3 overflows from 0xFF to 0x00 with TF3IG control.
TF3L is set when TL3 overflows from 0xFF to 0x00 with interrupt enabled by TL3IE. The EXF3, TF3 and TF3L
interrupt flags are not cleared by hardware and must be cleared by software.
By the way, the Timer 3 overflow event (T3OF) in 16-bit timer is replaced by TL3 overflow event (TL3OF)
in this split mode.
If TL3IS in T3MOD1 is 1, the bits on T3CON.5~4 are the function of TF3L and TL3IE.
Summary of Contents for CMT2380F17
Page 27: ...CMT2380F17 Rev0 1 27 347 www cmostek com 1 25 Phase Noise...
Page 177: ...CMT2380F17 Rev0 1 177 347 www cmostek com Figure 17 3 PCA Interrupt System...
Page 246: ...CMT2380F17 Rev0 1 246 347 www cmostek com SnMIPS S0MI S1MI 1 P3 3 P4 7...