Renesas M16C Series User Manual page 101

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30240 Group
UARTi transmit/receive control register 0
b7
b6
b5
UART2 transmit/receive control register 0
b7
b6
b5
Figure 1.78: Serial I/O-related registers (3)
Rev.1.00 Sep 24, 2003 Page 83 of 360
b4
b3
b2
b1
b0
Symbol
UiC0(i=0,1)
Bit
Bit name
symbol
CLK0
BRG count source
select bit
CLK1
CRS
CTS/RTS function
select bit
TXEPT
Transmit register empty
flag
CRD
CTS/RTS disable bit
Nothing is assigned.
This bit can neither be set nor reset. When read, the value of this bit is "0".
CKPOL
CLK polarity select bit
UFORM Transfer format select bit
Note 1: Set the corresponding port direction register to "0".
Note 2: The settings of the corresponding port register and port direction register are invalid.
b4
b3
b2
b1
b0
Symbol
U2C0
Bit
Bit name
symbol
CLK0
BRG count source
select bit
CLK1
CRS
CTS/RTS function
select bit
TXEPT
Transmit register empty
flag
CRD
CTS/RTS disable bit
Nothing is assigned.
This bit can neither be set nor reset. When read, the value of this bit is "0".
CKPOL
CLK polarity select bit
UFORM Transfer format select bit
(Note 3)
Note 1: Set the corresponding port direction register to "0".
Note 2: The settings of the corresponding port register and port direction register are invalid.
Note 3: Only clock synchronous serial I/O mode and 8-bit UART mode are valid.
Address
When reset
03A4
, 03AC
08
16
16
16
Function
(During clock synchronous
serial I/O mode)
b1 b0
b1 b0
0 0 : f
is selected
0 0 : f
1
0 1 : f
is selected
0 1 : f
8
1 0 : f
is selected
1 0 : f
32
1 1 : Reserved
1 1 : Reserved
Valid when bit 4 = "0"
Valid when bit 4 = "0"
0 : CTS function is selected (Note 1)
0 : CTS function is selected (Note 1)
1 : RTS function is selected (Note 2)
1 : RTS function is selected (Note 2)
0 : Data present in transmit
0 : Data present in transmit register
register (during transmission)
1 : No data present in transmit
1 : No data present in transmit
register (transmission
completed)
0 : CTS/RTS function enabled
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
1 : CTS/RTS function disabled
(P6
and P6
function as
0
4
programmable I/O port)
0 : Transmit data is output at
Must always be "0"
falling edge of transfer clock
and receive data is input at
rising edge
1 : Transmit data is output at
rising edge of transfer clock
and receive data is input at
falling edge
0 : LSB first
Must always be "0"
1 : MSB first
Address
When reset
037C
08
16
16
Function
(During clock synchronous
serial I/O mode)
b1 b0
0 0 : f
is selected
1
0 1 : f
is selected
8
1 0 : f
is selected
32
1 1 : Reserved
Valid when bit 4 = "0"
0 : CTS function is selected (Note 1)
1 : RTS function is selected (Note 2)
0 : Data present in transmit
register (during transmission)
1 : No data present in transmit
register (transmission
completed)
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
(P7
functions
3
programmable I/O port)
0 : Transmit data is output at
falling edge of transfer clock
and receive data is input at
rising edge
1 : Transmit data is output at
rising edge of transfer clock
and receive data is input at
falling edge
0 : LSB first
1 : MSB first
UART0 to UART2
Function
R
W
(During UART mode)
is selected
1
is selected
8
is selected
32
(during transmission)
register (transmission completed)
(P6
and P6
function as
0
4
programmable I/O port)
Function
R
W
(During UART mode)
b1 b0
0 0 : f
is selected
1
0 1 : f
is selected
8
1 0 : f
is selected
32
1 1 : Reserved
Valid when bit 4 = "0"
0 : CTS function is selected (Note 1)
1 : RTS function is selected (Note 2)
0 : Data present in transmit register
(during transmission)
1 : No data present in transmit
register (transmission completed)
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
(P7
functions programmable
3
I/O port)
Must always be "0"
0 : LSB first
1 : MSB first

Advertisement

Table of Contents
loading

Table of Contents