Rev.2.00 Oct 16, 2006 page 90 of 354
REJ09B0340-0200
M30245 Group
2. Serial Interface Special Function
Figure 2.5.4. Serial interface special function-related registers (3)
F
u
n
c
t
i
o
n
(
D
u
r
i
n
g
U
A
R
T
m
o
d
e
)
W
R
F
u
n
c
t
i
o
n
(
D
u
r
i
n
g
c
l
o
c
k
s
y
n
c
h
r
o
n
o
u
s
s
e
r
i
a
l
I
/
O
m
o
d
e
)
T
X
E
P
T
C
L
K
1
CLK0
C
R
S
C
R
D
C
K
P
O
L
BRG count source
select bit
Transmit register empty
flag
0
:
T
r
a
n
s
m
i
t
d
a
t
a
i
s
o
u
t
p
u
t
a
t
f
a
l
l
i
n
g
e
d
g
e
o
f
t
r
a
n
s
f
e
r
c
l
o
c
k
a
n
d
r
e
c
e
i
v
e
d
a
t
a
i
s
i
n
p
u
t
a
t
r
i
s
i
n
g
e
d
g
e
1
:
T
r
a
n
s
m
i
t
d
a
t
a
i
s
o
u
t
p
u
t
a
t
r
i
s
i
n
g
e
d
g
e
o
f
t
r
a
n
s
f
e
r
c
l
o
c
k
a
n
d
r
e
c
e
i
v
e
d
a
t
a
i
s
i
n
p
u
t
a
t
f
a
l
l
i
n
g
e
d
g
e
CLK polarity select bit
CTS/RTS function
select bit
CTS/RTS disable bit
0
0
:
f
1
i
s
s
e
l
e
c
t
e
d
0
1
:
f
8
i
s
s
e
l
e
c
t
e
d
1
0
:
f
3
2
i
s
s
e
l
e
c
t
e
d
1
1
:
I
n
h
i
b
i
t
e
d
b1 b0
0 : LSB first
1 : MSB first
0
:
D
a
t
a
p
r
e
s
e
n
t
i
n
t
r
a
n
s
m
i
t
r
e
g
i
s
t
e
r
(
d
u
r
i
n
g
t
r
a
n
s
m
i
s
s
i
o
n
)
1
:
N
o
d
a
t
a
p
r
e
s
e
n
t
i
n
t
r
a
n
s
m
i
t
r
e
g
i
s
t
e
r
(
t
r
a
n
s
m
i
s
s
i
o
n
c
o
m
p
l
e
t
e
d
)
0
:
C
T
S
/
R
T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
e
c
t
e
d
0
1
:
f
8
i
s
s
e
l
e
c
t
e
d
1
0
:
f
3
2
i
s
s
e
l
e
c
t
e
d
1
1
:
I
n
h
i
b
i
t
e
d
0
0
:
f
1
i
s
s
e
l
e
c
t
e
d
0
1
:
f
8
i
s
s
e
l
e
c
t
e
d
1
0
:
f
3
2
i
s
s
e
l
e
c
t
e
d
1
1
:
I
n
h
i
b
i
t
e
d
0
0
:
f
1
i
s
s
e
l
e
c
t
e
d
0
1
:
f
8
i
s
s
e
l
e
c
t
e
d
1
0
:
f
3
2
i
s
s
e
l
e
c
t
e
d
1
1
:
I
n
h
i
b
i
t
e
d
R W
RI
UiIRS
UiRRM
UiLCH
TE
RE
TI
UiERE
b7
b6
b5
b4
b3
b2
b1
b0
UARTi transmit/receive control register 1 (i= 0 to 3)
Symbol
Address
When reset
UiC1 (i=0 to 3)
03AD
16
, 036D
16
, 033D
16
, 032D
16
02
16
Bit Symbol
Function
(clock synchronous
serial I/O mode)
Function
(UART mode)
Bit Name
Transmit enable
bit
Transmit buffer
empty flag
Receive enable
bit
Receive
complete flag
UARTi transmit
interrupt cause
select bit
UARTi continuous
receive mode
enable bit
Data logic
select bit
Error signal
output enable bit
0 : Transmit disabled
1 : Transmit enabled
0 : Data present in transmit buffer register
1 : No data present in transmit buffer register
0 : Receive disabled
1 : Receive enabled
0 : Data packet in receive buffer register
1 : No data packet in receive buffer register
0 : Transmit buffer empty (TI =1)
1 : Transmit buffer completed ( TXEPT =1)
0 : Continuous receive
mode disabled
1 : Continuous receive
mode enabled
0 : No reverse
1 : Reverse
Set to “0”
0 : Output disabled
1 : Output enabled
(Note 1)
Set to “0”
The value is
indeterminate when read.
Note 1: When disabling the error signal output, set the UiERE bit to “0” after setting the
UiMR register.
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...