R01UH0136EJ0210 Rev.2.10
Page 460 of 800
Jul 31, 2012
M16C/64A Group
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
23.2.6
UARTi Transmit/Receive Control Register 1 (UiC1) (i = 0 to 2, 5 to 7)
Bits UiIRS and UiRRM of UART0 and UART1 are bits in the UCON register.
UiLCH (Data logic select bit) (b6)
The UiLCH bit is enabled when bits SMD2 to SMD0 in the UiMR register are 001b (clock synchronous
serial I/O mode), 100b (UART mode, 7-bit character), or 101b (UART mode, 8-bit character). Set this bit
to 0 when bits SMD2 to SMD0 are set to 010b (I
2
C mode) or 110b (UART mode, 9-bit character).
b7 b6 b5 b4
b1
b2
b3
b0
Function
Bit symbol
Bit Name
RW
RE
TI
TE
UiRRM
0 : No data present in UiRB register
1 : Data present in UiRB register
Receive complete flag
Transmit enable bit
UilRS
RI
0 : UiTB register empty (TI = 1)
1 : Transmission completed (TXEPT = 1)
UARTi transmit interrupt
source select bit
0 : Continuous receive mode disabled
1 : Continuous receive mode enabled
UARTi continuous receive
mode enable bit
RW
RO
RW
RO
RW
RW
Receive enable bit
0 : Reception disabled
1 : Reception enabled
0 : Transmission disabled
1 : Transmission enabled
Transmit buffer empty flag
0 : Data present in UiTB register
1 : No data present in UiTB register
UiLCH
Data logic select bit
0 : Not inverted
1 : Inverted
RW
UiERE
Error signal output enable bit
0 : Output disabled
1 : Output enabled
RW
UARTi Transmit/Receive Control Register 1 (i = 2, 5 to 7)
Symbol
Address
Reset Value
U2C1
026Dh
0000 0010b
U5C1, U6C1, U7C1,
028Dh, 029Dh, 02ADh
0000 0010b
Symbol
U0C1, U1C1
Address
024Dh, 025Dh
After Reset
00XX 0010b
Function
Bit Symbol
Bit Name
RW
RE
TI
TE
UiLCH
0 : No data present in UiRB register
1 : Data present in UiRB register
Receive complete flag
Transmit enable bit
RI
0 : No reverse
1 : Reverse
Data logic select bit
UARTi Transmit/Receive Control Register 1 (i = 0, 1)
RW
RO
RW
RO
RW
Receive enable bit
0 : Reception disabled
1 : Reception enabled
0 : Transmission disabled
1 : Transmission enabled
Transmit buffer empty flag
0 : Data present in UiTB register
1 : No data present in UiTB register
UiERE
Error signal output enable bit
0 : Output disabled
1 : Output enabled
RW
No register bits. If necessary, set to 0. Read as undefined value
—
(b5-b4)
—
b7 b6 b5 b4
b1
b2
b3
b0
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...