
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)
Function
(During UART mode)
W
R
Function
(During clock synchronous
serial I/O mode)
TXEPT
CLK1
CLK0
CRS
CRD
CKPOL
BRG count source
select bit
Transmit register empty
flag
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
CLK polarity select bit
CTS/RTS function
select bit
CTS/RTS disable bit
0 0 : f1 is selected
0 1 : f8 is selected
1 0 : f32 is selected
1 1 : Inhibited
b1 b0
0 : LSB first
1 : MSB first
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
0 : TxDi/SDAi and SCLi pin is CMOS
output
1 : TxDi/SDAi and SCLi pin is
N-channel open drain output
UFORM Transfer format select bit
(Note 3)
0 0 : f1 is selected
0 1 : f8 is selected
1 0 : f32 is selected
1 1 : Inhibited
b1 b0
Valid when bit 4 = “0”
0 : CTS function is selected (Note 1)
1 : RTS function is selected (Note 4)
Valid when bit 4 = “0”
0 : CTS function is selected (Note 1)
1 : RTS function is selected (Note 4)
0 : Data present in transmit register
(during transmission)
1 : No data present in transmit
register (transmission completed)
Set to “0”
Bit name
Bit
symbol
Note 1: Set the corresponding port direction register to “0”.
Note 2: UART2 transfer pin (TxD2: P70 and SCL2: P71) is N-channel open drain output.
It cannot be set to CMOS output.
Note 3: Only clock synchronous serial I/O mode and 8-bit UART mode are valid.
Note 4: The corresponding port register and port direction register are invalid.
0 : CTS/RTS function enabled
1 : CTS/RTS function disabled
0 : LSB first
1 : MSB first
UARTi transmit/receive control register 0 (i=0 to 3)
SymbolAddressWhen reset
UiC0 (i=0 to 3)03AC16, 036C16, 033C16, 032C16,
0816
b7 b6 b5 b4 b3 b2 b1 b0
NCH
(Note 2)
Data output select bit
0 : TxDi/SDAi and SCLi pin is CMOS
output
1 : TxDi/SDAi and SCLi pin is
N-channel open drain output
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
0 0 : f1 is selected
0 1 : f8 is selected
1 0 : f32 is selected
1 1 : Inhibited
RW
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)
03AD16, 036D16, 033D16, 032D16
0216
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.