18 UART
18-18
EPSON
S1C17704 TECHNICAL MANUAL
0x4103: UART Mode Register (UART_MOD)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
UART Mode
Register
(UART_MOD)
0x4103
(8 bits)
D7–5
–
reserved
–
–
–
0 when being read.
D4
CHLN
Character length
1 8 bits
0 7 bits
0
R/W
D3
PREN
Parity enable
1 With parity
0 No parity
0
R/W
D2
PMD
Parity mode select
1 Odd
0 Even
0
R/W
D1
STPB
Stop bit select
1 2 bits
0 1 bit
0
R/W
D0
SSCK
Input clock select
1 External
0 Internal
0
R/W
D[7:5] Reserved
D4
CHLN: Character Length Select Bit
Selects the character length of serial transfer data.
1 (R/W): 8 bits
0 (R/W): 7 bits (default)
D3
PREN: Parity Enable Bit
Enables the parity function.
1 (R/W): With parity
0 (R/W): No parity (default)
PREN is used to select whether the parity check for receive data will be performed or not, and whether
a parity bit will be added to transmit data. When PREN is set to 1, the received data is checked for
parity. A parity bit is automatically added to the transmit data. When PREN is set to 0, parity is not
checked and no parity bit is added.
D2
PMD: Parity Mode Select Bit
Selects the parity mode.
1 (R/W): Odd parity
0 (R/W): Even parity (default)
Odd parity is selected by writing 1 to PMD, and even parity is selected by writing 0. Parity check and
the addition of a parity bit are effective only when PREN (D3) is set to 1. If PREN (D3) = 0, settings of
PMD do not have any effect.
D1
STPB: Stop Bit Select Bit
Selects a stop bit length.
1 (R/W): 2 bits
0 (R/W): 1 bit (default)
Two stop bits are selected by writing 1 to STPB, and one stop bit is selected by writing 0. The start bit
is fixed at 1 bit.
D0
SSCK: Input Clock Select Bit
Selects the clock source.
1 (R/W): External clock (SCLK pin)
0 (R/W): Internal clock (default)
This bit is used to select the clock source between the internal clock (8-bit timer output clock) and an
external clock (input from the SCLK pin). An external clock is selected by writing 1 to this bit, and an
internal clock is selected by writing 0.
Содержание S1C17704
Страница 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Страница 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...