Renesas R8C/18 Series Hardware Manual page 163

16-bit single-chip mcu
Table of Contents

Advertisement

R8C/18 Group, R8C/19 Group
UARTi Transmit Buffer Register (i = 0 or 1)
(b15)
(b8)
b7
b0
NOTES:
1.
When the transfer data length is 9 bits, w rite data to high byte first, then low byte.
2.
Use the MOV instruction to w rite to this register.
UARTi Receive Buffer Register (i = 0 or 1)
(b15)
(b8)
b7
b0
NOTES:
1.
Read out the UiRB register in 16-bit units.
2.
Bits SUM, PER, FER, and OER are set to 0 (no error) w hen bits SMD2 to SMD0 in the UiMR register are set to 000b
(serial interface disabled) or the RE bit in the UiC1 register is set to 0 (receive disabled). The SUM bit is set to 0 (no
error) w hen bits PER, FER, and OER are set to 0 (no error). Bits PER and FER are set to 0 even w hen the higher byte
of the UiRB register is read out.
Also, bits PER and FER are set to 0 w hen reading the high-order byte of the UiRB register.
UARTi Bit Rate Register (i = 0 or 1)
b7
b0
NOTES:
1.
Write to this register w hile the serial I/O 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 UiC0 register, w rite to the UiBRG register.
Figure 15.3
Registers U0TB to U1TB, U0RB to U1RB, and U0BRG to U1BRG
Rev.1.30
Apr 14, 2006
REJ09B0222-0130
(1, 2)
b7
b0
Symbol
U0TB
U1TB
Bit Symbol
Transmit data
(b8-b0)
Nothing is assigned. If necessary, set to 0.
(b15-b9)
When read, the content is undefined.
(1)
b7
b0
Symbol
U0RB
U1RB
Bit Symbol
(b7-b0)
(b8)
Nothing is assigned. If necessary, set to 0.
(b11-b9)
When read, the content is undefined.
Overrun error flag
OER
Framing error flag
FER
Parity error flag
PER
Error sum flag
SUM
(1, 2, 3)
Symbol
U0BRG
U1BRG
Assuming the set value is n, UiBRG divides the count source by n+1
Page 148 of 233
Address
00A3h-00A2h
00ABh-00AAh
Function
Address
00A7h-00A6h
00AFh-00AEh
Bit Name
Receive data (D7 to D0)
Receive data (D8)
(2)
0 : No overrun error
1 : Overrun error
(2)
0 : No framing error
1 : Framing error
(2)
0 : No parity error
1 : Parity error
(2)
0 : No error
1 : Error
Address
00A1h
00A9h
Function
15. Serial Interface
After Reset
Undefined
Undefined
After Reset
Undefined
Undefined
Function
After Reset
Undefined
Undefined
Setting Range
00h to FFh
RW
WO
RW
RO
RO
RO
RO
RO
RO
RW
WO

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/1 seriesR8c seriesR8c/19 series

Table of Contents