M16C/62P Group (M16C/62P, M16C/62PT)
17. Serial Interface
Rev.2.41
Jan 10, 2006
Page 185 of 390
REJ09B0185-0241
Figure 17.9
U0C1 to U2C1 Registers
UARTi Transmit/Receive Control Register 1 (i=0, 1)
Address
After Reset
03A5h, 03ADh
00XX0010b
Bit Symbol
Function
RW
NOTES :
1.
—
Receive Complete Flag
Bit Name
U0C1, U1C1
TI
RW
Transmit Enable Bit
0 : Transmission disabled
1 : Transmission enabled
Nothing is assigned. When w rite, set to “0”.
When read, these contents are indeterminate.
RE
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TE
—
(b5-b4)
RI
0 : No data present in UiRB register
1 : Data present in UiRB register
RO
Transmit Buffer Empty Flag
0 : Data present in UiTB register
1 : No data present in UiTB register
Receive Enable Bit
0 : Reception disabled
1 : Reception enabled
RW
The UiLCH bit is enabled w hen the SMD2 to SMD0 bits in the UiMR register are set to “001b” (clock synchronous serial
I/O mode), “100b” (UART mode, 7-bit transfer data), or “101b” (UART mode, 8-bit transfer data).
Set this bit to “0” w hen the SMD2 to SMD0 bits are set to “010b” (I
2
C mode) or “110b” (UART mode, 9-bit transfer
data).
RO
Data Logic Select Bit
(1)
Error Signal Output Enable Bit
0 : No reverse
1 : Reverse
0 : Output disabled
1 : Output enabled
UiERE
RW
UiLCH
RW
UART2 Transmit/Receive Control Register 1
Address
After Reset
037Dh
00000010b
Bit Symbol
Function
RW
NOTES :
1. The U2LCH bit is enabled w hen the SMD2 to SMD0 bits in the U2MR register are set to “001b” (clock synchronous
serial I/O mode), “100b” (UART mode, 7-bit transfer data), or “101b” (UART mode, 8-bit transfer data).
Set this bit to “0” w hen the SMD2 to SMD0 bits are set to “010b” (I
2
C mode) or “110b” (UART mode, 9-bit transfer
data).
U2ERE
RW
U2LCH
RW
Data Logic Select Bit
(1)
Error Signal Output Enable Bit
0 : No reverse
1 : Reverse
0 : Output disabled
1 : Output enabled
TE
U2RRM
RI
UART2 Continuous Receive Mode
Enable Bit
Transmit Buffer Empty Flag
Receive Enable Bit
Symbol
b3 b2 b1 b0
b7 b6 b5 b4
U2C1
TI
U2IRS
RW
UART2 Transmit Interrupt Factor
Select Bit
0 : Transmit buffer empty (TI = 1)
1 : Transmit is completed (TXEPT = 1)
RW
Transmit Enable bit
0 : Transmission disabled
1 : Transmission enabled
RE
0 : Continuous receive mode disabled
1 : Continuous receive mode enabled
RW
Receive Complete Flag
Bit Name
0 : No data present in U2RB register
1 : Data present in U2RB register
RO
0 : Data present in U2TB register
1 : No data present in U2TB register
0 : Reception disabled
1 : Reception enabled
RW
RO
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655