English
Language : 

R8C16 Datasheet, PDF (140/279 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / R8C/Tiny SERIES
R8C/16 Group, R8C/17 Group
14. Serial Interface
UART0 Transmit Buffer Register(1, 2)
(b15)
(b8)
b7
b0 b7
b0
Symbol
U0TB
Address
00A3h-00A2h
After Reset
Indeterminate
Function
RW
—
Transmit data
(b8-b0)
WO
—
Nothing is assigned. When w rite, set to “0”.
(b15-b9) When read, its content is indeterminate.
—
NOTES :
1. When the transfer data length is 9-bit long, w rite to high-byte data first then low -byte data.
2. Use the MOV instruction to w rite to this register.
UART0 Receive Buffer Register(1)
(b15)
(b8)
b7
b0 b7
b0
Symbol
U0RB
Address
00A7h-00A6h
After Reset
Indeterminate
Bit Symbol
Bit Name
Function
RW
—
(b7-b0)
Receive data (D7 to D0)
—
RO
—
Receive data (D8)
(b8)
—
RO
—
Nothing is assigned. When w rite, set to “0”.
(b11-b9) When read, its content is indeterminate.
—
Overrun Error Flag(2)
0 : No overrun error
OER
1 : Overrun error
RO
Framing Error Flag(2)
0 : No framing error
FER
1 : Framing error
RO
Parity Error Flag(2)
0 : No parity error
PER
1 : Parity error
RO
Error Sum Flag(2)
0 : No error
SUM
1 : Error
RO
NOTES :
1. Read out the UiRB register in 16-bit unit.
2. The SUM, PER, FER and OER bits are set to “0” (no error) w hen the SMD2 to SMD0 bits in the UiMR register are set to
“000b” (serial interface disabled) or the RE bit in the U0C1 register is set to “0” (disables receive). The SUM bit is set
to “0” (no error) w hen the PER, FER and OER bits are set to “0” (no error).
The PER and FER bits are set to “0” even w hen the higher byte of the U0RB register is read out.
UART0 Bit Rate Register(1, 2, 3)
b7
b0
Symbol
U0BRG
Address
00A1h
After Reset
Indeterminate
Function
Setting Range
RW
Assuming that set value is n, U0BRG divides the count source by
n+1
00h to FFh
WO
NOTES :
1. Write to this register w hile the serial interface is neither transmitting nor receiving.
2. Use the MOV instruction to w rite to this register.
3. After setting the CLK0 to CLK1 bits of the U0C0 register, w rite to the U0BRG register.
Figure 14.3 U0TB, U0RB and U0BRG Registers
Rev.2.10 Jan 19, 2006 Page 127 of 254
REJ09B0169-0210