English
Language : 

M16C6K9 Datasheet, PDF (103/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6K9 Group
Serial I/O
UARTi transmit/receive control register 0
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
UiC0(i=0,1)
Address
When reset
03A416, 03AC16
0816
Bit
symbol
CLK0
CLK1
CRS
TXEPT
Bit name
BRG count source
selection bits
Function
(During clock synchronous
serial I/O mode)
Function
(During UART mode)
b1 b0
b1 b0
0 0 : f1 is selected
0 1 : f8 is selected
1 0 : f32 is selected
1 1 : Inhibited
0 0 : f1 is selected
0 1 : f8 is selected
1 0 : f32 is selected
1 1 : Inhibited
RW
CTS/RTS function
selection bit
Valid when bit 4 = “0”
0 : CTS function is selected (Note 1)
1 : RTS function is selected (Note 2)
Valid when bit 4 = “0”
0 : CTS function is selected (Note 1)
1 : RTS function is selected (Note 2)
Transmit register empty
flag
0 : Data present in transmit
register (during transmission)
1 : No data present in transmit
register
(transmission completed)
0 : Data present in transmit register
(during transmission)
1 : No data present in transmit
register (transmission completed)
CRD CTS/RTS disable bit
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
(Pins function as
programmable I/O port)
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
(Pins function as programmable
I/O port)
NCH
Data output selection bit 0 : TXDi pin is CMOS output
0: TXDi pin is CMOS output
1 : TXDi pin is N-channel open- 1: TXDi pin is N-channel open-drain
drain output
output
CKPOL
CLK
polarity
selection
bit
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
Must always be “0”
UFORM Transfer format selection 0 : LSB first
bit
1 : MSB first
Must always be “0”
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.
UART2 transmit/receive control register 0
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
U2C0
Address
037C16
When reset
0816
Bit
symbol
CLK0
CLK1
CRS
TXEPT
Bit name
BRG count source
selection bits
Function
(During clock synchronous
serial I/O mode)
b1 b0
0 0 : f1 is selected
0 1 : f8 is selected
1 0 : f32 is selected
1 1 : Inhibited
Function
(During UART mode)
b1 b0
0 0 : f1 is selected
0 1 : f8 is selected
1 0 : f32 is selected
1 1 : Inhibited
RW
CTS/RTS function
selection bit
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)
Transmit register empty
flag
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
register
(transmission completed)
(transmission completed)
CRD CTS/RTS disable bit
0 : CTS/RTS function enabled 0 : CTS/RTS function enabled
1 : CTS/RTS function disabled 1 : CTS/RTS function disabled
(Pins function programmable (Pins function programmable
I/O port)
I/O port)
Nothing is assigned.
0 : TXDi pin is CMOS output
0: TXDi pin is CMOS output
In
an
attempt
to
write
to
this
bit,
write1“:0To”.XpTeDnhi -epdirnvaaiisnluNoeu-,ctphifuartnenaedl ,
turns
o1u:t
TtooXpDebnie-pdin“ra0iis”n.
N-channel
output
CKPOL
CLK
polarity
selection
bit
0
:
Transmit data is output at
falling edge of transfer clock
Must always be “0”
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
UFORM Transfer format selection 0 : LSB first
bit (Note 3)
1 : MSB first
0 : LSB first
1 : MSB first
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.
Fig.GA-6 Serial I/O-related registers (3)
Rev.1.00 Jun 06, 2003 page 103 of 290