Epson S1C17F13 Technical Manual page 102

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

Bit 1
SFTRST
This bit issues software reset to the UART.
1 (W):
Issue software reset
0 (W):
Ineffective
1 (R):
Software reset is executing.
0 (R):
Software reset has finished. (During normal operation)
Setting this bit resets the UART transmit/receive control circuit and interrupt flags. This bit is auto-
matically cleared after the reset processing has finished.
Bit 0
MODen
This bit enables the UART operations.
1 (R/W): Enable UART operations (The operating clock is supplied.)
0 (R/W): Disable UART operations (The operating clock is stopped.)
Note: If the UAnCTL.MODEN bit is altered from 1 to 0 during sending/receiving data, the data be-
ing sent/received cannot be guaranteed. When setting the UAnCTL.MODEN bit to 1 again
after that, be sure to write 1 to the UAnCTL.SFTRST bit as well.
uaRT Ch.n Transmit Data Register
Register name
Bit
UAnTXD
15–8 –
7–0 TXD[7:0]
Bits 15–8 Reserved
Bits 7–0
TXD[7:0]
Data can be written to the transmit data buffer through these bits. Make sure the UAnINTF.TBEIF bit
is set to 1 before writing data.
uaRT Ch.n Receive Data Register
Register name
Bit
UAnRXD
15–8 –
7–0 RXD[7:0]
Bits 15–8 Reserved
Bits 7–0
RXD[7:0]
The receive data buffer can be read through these bits. The receive data buffer consists of a 2-byte
FIFO, and older received data is read first.
uaRT Ch.n Status and interrupt Flag Register
Register name
Bit
UAnINTF
15–10 –
9
8
7
6
5
4
3
2
1
0
Bits 15–10 Reserved
S1C17F13 TeChniCal Manual
(Rev. 1.0)
Bit name
Initial
0x00
0x00
Bit name
Initial
0x00
0x00
Bit name
Initial
0x00
RBSY
0
TBSY
0
0
TENDIF
0
FEIF
0
PEIF
0
OEIF
0
RB2FIF
0
RB1FIF
0
TBEIF
1
Seiko epson Corporation
Reset
R/W
R
H0
R/W
Reset
R/W
R
H0
R
Reset
R/W
R
H0/S0
R
H0/S0
R
R
H0/S0
R/W
Cleared by writing 1.
H0/S0
R/W
Cleared by writing 1 or reading the
UAnRXD register.
H0/S0
R/W
H0/S0
R/W
Cleared by writing 1.
H0/S0
R
Cleared by reading the UAnRXD reg-
ister.
H0/S0
R
H0/S0
R
Cleared by writing to the UAnTXD
register.
10 UART (UART)
Remarks
Remarks
Remarks
10-11

Advertisement

Table of Contents
loading

Table of Contents