R01UH0092EJ0110 Rev.1.10
Page 463 of 807
Jul 31, 2012
M16C/64C Group
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
23.2.7
UARTi Receive Buffer Register (UiRB) (i = 0 to 2, 5 to 7)
When bits SMD2 to SMD0 in the UiMR register are 100b, 101b, or 110b, read this register in 16-bit
units, or in 8-bit units from upper byte to lower byte.
Bits FER and PER in the upper byte become 0 when the lower byte of the UiRB register is read.
If an overrun error occurs, the receive data of the UiRB register is undefined.
ABT (Arbitration lost detect flag) (b11)
The ABT bit is set to 0 by a program. (It remains unchanged even if 1 is written.)
OER (Overrun error flag) (b12)
Conditions to become 0:
•
Bits SMD2 to SMD0 in the UiMR register are 000b (serial interface disabled).
•
The RE bit in the UiC1 register is 0 (reception disabled).
Condition to become 1:
•
The RI bit in the UiC1 register is 1 (data present in UiRB register), and the last bit of the next data
is received.
RW
RO
Function
Bit Symbol
Receive data (D7 to D0)
b7
(b8)
b0
(b15)
b7
b0
—
(b7-b0)
RO
Receive data (D8)
—
(b8)
—
—
(b10-b9)
Bit Name
No register bits. If necessary, set to 0. The read value is undefined.
RW
0 : Not detected
1 : Detected
Arbitration lost detect flag
ABT
RO
0 : No overrun error
1 : Overrun error found
Overrun error flag
OER
RO
0 : No framing error
1 : Framing error found
Framing error flag
FER
RO
0 : No parity error
1 : Parity error found
Parity error flag
PER
RO
0 : No error
1 : Error found
Error sum flag
SUM
UARTi Receive Buffer Register (i = 0 to 2, 5 to 7)
Symbol
Address
Reset Value
U0RB
024Fh to 024Eh
XXXXh
U1RB
025Fh to 025Eh
XXXXh
U2RB
026Fh to 026Eh
XXXXh
U5RB
028Fh to 028Eh
XXXXh
U6RB
029Fh to 029Eh
XXXXh
U7RB
02AFh to 02AEh
XXXXh
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...