Addendum to section 11: programmable timers, Table 11-1. timer 3 sfr bit summary – Maxim Integrated High-Speed Microcontroller Users Guide: Network Microcontroller Supplement User Manual
Page 118

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
MODE 0
M1, M0=TMOD.1:0
(M1, M0=TMOD.5:4)
(M1, M0 = T3CM.1:0)
MODE 1
T0 = P3.4
(T1 = P3.5)
(T3 = P5.2)
TR0 = TCON.4
(TR1 = TCON.6)
(TR3 = T3CM.6)
GATE = TMOD.3
(GATE = TMOD.7)
(GATE = T3CM.3)
INT0
= P3.2
(
INT1
= P3.3)
(
INT3
= P1.5)
TF0 = TCON.5
(TF1 = TCON.7)
(TF3 = T3CM.7)
TIMER 1 and TIMER 3 FUNCTIONS
SHOWN IN PARENTHESES ()
INTERRUPT
TL0
(TL1)
(TL3)
0
4
7
00
01
0
7
TH0
(TH1)
(TH3)
CLK
0
1
T0M = CKCON.3
(T1M = CKCON.4
(T3M = T3CM.5)
C/
T
= TMOD.2
(C/
T
= TMOD.6
(C/
T
= T3CM.2)
0
CD1:0
CLK OUT
11 /3,072
other /12
1
4X/ X
2
CD1:0 CLK
OUT
1
00 /1
0
00
/2
x
10
/4
x
11
/1,024
OSC
Maxim Integrated