
High-Speed Microcontroller User’s
Guide: Network Microcontroller
Supplement
118
ADDENDUM TO SECTION 11: PROGRAMMABLE TIMERS
The timers of the DS80C400 are very similar to those described in the High-Speed Microcontroller User’s Guide. The primary changes
concern the removal of the PMM2 option, the inclusion of the clock multiplier settings (CD1:0, 4X/), and the addition of a fourth timer,
timer 3. Timer 3 supports three modes of operation: 13-bit timer/counter, 16-bit timer/counter, and 8-bit timer/counter with autoreload.
Timer 3 is accessible to serial port 2 for baud-rate generation in serial modes 1 and 3. The SFR bits controlling the function of timer 3
are summarized in Table 11-1 and Figures 11-1 through 11-8.
Table 11-1. Timer 3 SFR Bit Summary
Figure 11-1. Timers/Counters 0, 1, and 3, Modes 0 and 1
BIT NAMES DESCRIPTION REGISTER LOCATION BIT POSITIONS
GATE
Gate control enable for INT3 pin
T3CM–FDh T3CM.3
C/T Counter/timer select T3CM–FDh T3CM.2
M1, M0 Timer mode select bits T3CM–FDh T3CM.1
TF3 Timer overflow flag T3CM–FDh T3CM.7
TR3 Timer run control T3CM–FDh T3CM.6
T3M Input clock select (/ 4) T3CM–FDh T3CM.5
Timer LSB TL0–FBh
Timer MSB TH0–FCh
M1, M0=TMOD.1:0
(M1, M0=TMOD.5:4)
(M1, M0 = T3CM.1:0)
MODE 1
INT0 = P3.2
(
INT1 = P3.3)
( INT3= P1.5)
(TF1 = TCON.7)
(TF3 = T3CM.7)
SHOWN IN PARENTHESES ()
INTERRUPT
(T1M = CKCON.4
(T3M = T3CM.5)
C/
T = TMOD.2
(C/
T = TMOD.6
4X/ X2 CD1:0 CLK OUT
1 00 /1
0 00 /2
x 10 /4
x 11
/1,024
OSC
Komentáře k této Příručce