10 UART (UART)
10-10
Seiko epson Corporation
S1C17F13 TeChniCal Manual
(Rev. 1.0)
Bit 5
OuTMD
This bit sets the USOUT
n
pin output mode.
1 (R/W): Open-drain output
0 (R/W): Push-pull output
Bit 4
iRMD
This bit enables the IrDA interface function.
1 (R/W): Enable IrDA interface function
0 (R/W): Disable IrDA interface function
Bit 3
Chln
This bit sets the data length.
1 (R/W): 8 bits
0 (R/W): 7 bits
Bit 2
PRen
This bit enables the parity function.
1 (R/W): Enable parity function
0 (R/W): Disable parity function
Bit 1
PRMD
This bit selects either odd parity or even parity when using the parity function.
1 (R/W): Odd parity
0 (R/W): Even parity
Bit 0
STPB
This bit sets the stop bit length.
1 (R/W): 2 bits
0 (R/W): 1 bit
Note: The UA
n
MOD register settings can be altered only when the UA
n
CTL.MODEN bit = 0.
uaRT Ch.
n
Baud–Rate Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
UA
n
BR
15–12 –
0x0
–
R
–
11–8 FMD[3:0]
0x0
H0
R/W
7–0 BRT[7:0]
0x00
H0
R/W
Bits 15–12 Reserved
Bits 11–8 FMD[3:0]
Bits 7–0
BRT[7:0]
These bits set the UART transfer rate. For more information, refer to “Baud Rate Generator.”
Note: The UA
n
BR register settings can be altered only when the UA
n
CTL.MODEN bit = 0.
uaRT Ch.
n
Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
UA
n
CTL
15–8 –
0x00
–
R
–
7–2 –
0x00
–
R
1
SFTRST
0
H0
R/W
0
MODEN
0
H0
R/W
Bits 15–2 Reserved