Renesas M16C Series User Manual page 201

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
b4
b3
b2
UART2 transmit/receive control register 0
b7
b6
b5
b4
b3
b2
Figure 2.42: Serial I/O related register (3)
Rev.1.00 Sep 24, 2003 Page 183 of 360
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.
In an attempt to write to this bit, write "0". The value of this bit is "0" when read.
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.
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.
In an attempt to write to this bit, write "0". The value of this bit is "0" when read.
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
03A4
, 03AC
16
16
Function
(During clock synchronous
(During UART mode)
serial I/O mode)
b1 b0
b1 b0
0 0 : f
is selected
0 0 : f
is selected
1
1
0 1 : f
is selected
0 1 : f
is selected
8
8
1 0 : f
is selected
1 0 : f
is selected
32
32
1 1 : Inhibited
1 1 : Inhibited
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)
(during transmission)
1 : No data present in transmit
1 : No data present in transmit
register (transmission
register (transmission completed)
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
(P6
and P6
0
4
0
programmable I/O port)
programmable I/O port)
0 : Transmit data is output at
falling edge of transfer clock
and receive data is input at
Must always be "0"
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
037C
16
Function
(During clock synchronous
(During UART mode)
serial I/O mode)
b1 b0
b1 b0
0 0 : f
is selected
0 0 : f
is selected
1
1
0 1 : f
is selected
0 1 : f
is selected
8
8
1 0 : f
is selected
1 0 : f
is selected
32
32
1 1 : Inhibited
1 1 : Inhibited
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)
(during transmission)
1 : No data present in transmit
1 : No data present in transmit
register (transmission
register (transmission completed)
completed)
0 : CTS/RTS function enabled
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
1 : CTS/RTS function disabled
(P7
functions
(P7
functions programmable
3
3
programmable I/O port)
I/O port)
0 : Transmit data is output at
falling edge of transfer clock
and receive data is input at
rising edge
Must always be "0"
1 : Transmit data is output at
rising edge of transfer clock
and receive data is input at
falling edge
0 : LSB first
0 : LSB first
1 : MSB first
1 : MSB first
Clock-Synchronous Serial I/O
When reset
08
16
Function
R
W
function as
4
When reset
08
16
Function
R
W

Advertisement

Table of Contents
loading

Table of Contents