Renesas M16C/62P Hardware Manual page 172

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
UARTi Transmit Buffer Register (i=0 to 2)
(b15)
(b8)
b7
b0
NOTES :
1. Use MOV instruction to write to this register.
UARTi Receive Buffer Register (i=0 to 2)
(b8)
(b15)
b7
b0
NOTES :
1. When the SMD2 to SMD0 bits in the UiMR register = 000b (serial I/O disabled) or the RE bit in the UiC1 register = 0 (reception disabled), all of the SUM,
PER, FER and OER bits are set to "0" (no error). The SUM bit is set to "0" (no error) when all of the PER, FER and OER bits = 0 (no error).
Also, the PER and FER bits are set to "0" by reading the lower byte of the UiRB register.
2. The ABT bit is set to "0" by writing "0" in a program. (Writing "1" has no effect)
UARTi Bit Rate Generation Register (i=0 to 2)
b7
b0
NOTES :
1. Write to this register while serial I/O is neither transmitting nor receiving.
2. Use MOV instruction to write to this register.
Figure 17.5 U0TB to U2TB Register, U0RB to U2RB Register, and U0BRG to U2BRG Register
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
(1)
Symbol
U0TB
b7
b0
U1TB
U2TB
Transmit data
Nothing is assigned. When write, set to "0".
When read, their contents are indeterminate.
b7
b0
Bit
Symbol
(b7-b0)
(b8)
Nothing is assigned. When write, set to "0".
(b10-b9)
When read, their contents are "0".
Arbitration Lost
ABT
Detecting Flag
Overrun Error Flag
OER
FER
Framing Error Flag
PER
Parity Error Flag
SUM
Error Sum Flag
(1, 2)
Symbol
U0BRG
U1BRG
U2BRG
Assuming that set value = n, UiBRG divides the count source
by n + 1
page 158
f o
3
6
4
Address
After Reset
03A3h to 03A2h
Indeterminate
03ABh to 03AAh
Indeterminate
037Bh to 037Ah
Indeterminate
Function
Symbol
Address
After Reset
U0RB
03A7h to 03A6h
Indeterminate
U1RB
03AFh to 03AEh
Indeterminate
U2RB
037Fh to 037Eh
Indeterminate
Bit Name
Receive data (D7 to D0)
Receive data (D8)
0 : Not detected
1 : Detected
(2)
0 : No overrun error
(1)
1 : Overrun error found
(1)
0 : No framing error
1 : Framing error found
(1)
0 : No parity error
1 : Parity error found
(1)
0 : No error
1 : Error found
Address
After Reset
03A1h
Indeterminate
03A9h
Indeterminate
0379h
Indeterminate
Function
17. Serial I/O
RW
WO
Function
RW
RO
RO
RW
RO
RO
RO
RO
Setting Range
RW
00h to FFh
WO

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents