
ML51/ML54/ML56
Sep. 01, 2020
Page
196
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
T3CON
– Timer 3 Control
Register
SFR Address
Reset Value
T3CON
C4H, Page 0
0000_0000 b
7
6
5
4
3
2
1
0
SMOD_1
SMOD0_1
BRCK
TF3
TR3
T3PS[2:0]
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Description
[7]
SMOD_1
Serial Port 1 Double Baud Rate Enable
Setting this bit doubles the serial port baud rate when UART1 is in Mode 2.see Table 6.9-2
Serial Port 1 Mode / baud rate Description for details.
[6]
SMOD0_1
Serial Port 1 Framing Error Access Enable
0 = S1CON.7 accesses to SM0_1 bit.
1 = S1CON.7 accesses to FE_1 bit.
[5]
BRCK
Serial Port 0 Baud Rate Clock Source
This bit selects which Timer is used as the baud rate clock source when serial port 0 is in
Mode 1 or 3.
0 = Timer 1.
1 = Timer 3.
[4]
TF3
Timer 3 Overflow Flag
This bit is set when Timer 3 overflows. It is automatically cleared by hardware when the
program executes the Timer 3 interrupt service routine. This bit can be set or cleared by
software.
[3]
TR3
Timer 3 Run Control
0 = Timer 3 is halted.
1 = Timer 3 starts running.
Note that the reload registers RH3 and RL3 can only be written when Timer 3 is halted (TR3
bit is 0). If any of RH3 or RL3 is written if TR3 is 1, result is unpredictable.
[2:0]
T3PS[2:0]
Timer 3 Pre-Scalar
These bits determine the scale of the clock divider for Timer 3.
000 = 1/1.
001 = 1/2.
010 = 1/4.
011 = 1/8.
100 = 1/16.
101 = 1/32.
110 = 1/64.
111 = 1/128.