10 UART (UART)
S1C17F13 TeChniCal Manual
Seiko epson Corporation
10-9
(Rev. 1.0)
Bits 15–9 Reserved
Bit 8
DBRun
This bit sets whether the UART operating clock is supplied in DEBUG mode or not.
1 (R/W): Clock supplied in DEBUG mode
0 (R/W): No clock supplied in DEBUG mode
Bits 7–6
Reserved
Bits 5–4
ClKDiV[1:0]
These bits select the division ratio of the UART operating clock.
Bits 3–2
Reserved
Bits 1–0
ClKSRC[1:0]
These bits select the clock source of the UART.
8.1 Clock Source and Division Ratio Settings
Table 10.
UA
n
CLK.
CLKDIV[1:0] bits
UA
n
CLK.CLKSRC[1:0] bits
0x0
0x1
0x2
0x3
OSC3B
OSC1
OSC3A
EXOSC
0x3
1/8
1/1
1/8
1/1
0x2
1/4
1/4
0x1
1/2
1/2
0x0
1/1
1/1
(Note) The oscillation circuits/external input that are not supported in this IC cannot be
selected as the clock source.
Note: The UA
n
CLK register settings can be altered only when the UA
n
CTL.MODEN bit = 0.
uaRT Ch.
n
Mode Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
UA
n
MOD
15–10 –
0x00
–
R
–
9
INVIRRX
0
H0
R/W
8
INVIRTX
0
H0
R/W
7
–
0
–
R
6
PUEN
0
H0
R/W
5
OUTMD
0
H0
R/W
4
IRMD
0
H0
R/W
3
CHLN
0
H0
R/W
2
PREN
0
H0
R/W
1
PRMD
0
H0
R/W
0
STPB
0
H0
R/W
Bits 15–10 Reserved
Bit 9
inViRRX
This bit enables the USIN
n
input inverting function when the IrDA interface function is enabled.
1 (R/W): Enable input inverting function
0 (R/W): Disable input inverting function
Bit 8
inViRTX
This bit enables the USOUT
n
output inverting function when the IrDA interface function is enabled.
1 (R/W): Enable output inverting function
0 (R/W): Disable output inverting function
Bit 7
Reserved
Bit 6
Puen
This bit enables pull-up of the USIN
n
pin.
1 (R/W): Enable pull-up
0 (R/W): Disable pull-up