Renesas M16C/64C User Manual page 506

Table of Contents

Advertisement

M16C/64C Group
Table 23.8
Registers Used and Settings in Clock Synchronous Serial I/O Mode
Register
PCLKR
PCLKSTP1
PCKSTP1A
UiTB
UiRB
8, 11, 13 to 15
UiBRG
SMD2 to SMD0
UiMR
CLK1 to CLK0
UiC0
CKPOL
UFORM
UiC1
UiSMR
UiSMR2
UiSMR3
UiSMR4
U0RRM
U1RRM
UCON
CLKMD0
CLKMD1
i = 0 to 2, 5 to 7; j = 2, 5 to 7
Notes:
1.
This table does not describe a procedure.
2.
The TXD2 pin is N-channel open drain output. Nothing is assigned to the NCH bit in the U2C0 register. If
necessary, set it to 0.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Bits
PCLK1
Select the count source for the UiBRG register.
Set to 0 when using f1.
0 to 7
Set transmission data.
8
- (does not need to be set) If necessary, set to 0.
0 to 7
Reception data can be read.
When read, the read value is undefined.
OER
Overrun error flag
0 to 7
Set bit rate.
Set to 001b.
CKDIR
Select internal clock or external clock.
4 to 6
Set to 0.
IOPOL
Set to 0.
Select the count source for the UiBRG register.
If CTS or RTS is used, select which function to use.
CRS
TXEPT
Transmit register empty flag
Enable or disable the CTS or RTS function.
CRD
NCH
Select TXDi pin output mode.
Select the transmit/receive clock polarity.
Select LSB first or MSB first.
TE
Set to 1 to enable transmission/reception.
TI
Transmit buffer empty flag
RE
Set to 1 to enable reception.
RI
Reception complete flag
UjIRS
Select source of UARTj transmit interrupt.
UjRRM
Set to 1 to use continuous receive mode.
UiLCH
Set to 1 to use inverted data logic.
UiERE
Set to 0.
0 to 7
Set to 0.
0 to 7
Set to 0.
0 to 2
Set to 0.
NODC
Select clock output mode.
4 to 7
Set to 0.
0 to 7
Set to 0.
U0IRS
Select source of UART0 transmit interrupt.
U1IRS
Select source of UART1 transmit interrupt.
Set to 1 to use continuous receive mode.
Set to 1 to use continuous receive mode.
Select the transmit/receive clock output pin when CLKMD1 is 1.
Set to 1 to output UART1 transmit/receive clock from two pins.
Set to 1 to separate the CTS0 / RTS signal of UART0.
RCSP
7
Set to 0.
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
Function
(2)
(1)
Page 473 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents