Renesas M16C/29 Series Hardware Manual page 194

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

Advertisement

M16C/29 Group
Table 14.1.1. 2. Registers to Be Used and Settings in Clock Synchronous Serial I/O Mode
Register
Bit
UiTB(Note3) 0 to 7
UiRB(Note3) 0 to 7
OER
UiBRG
0 to 7
UiMR(Note3) SMD2 to SMD0
CKDIR
IOPOL(i=2)(Note 4) Set to "0"
UiC0
CLK1 to CLK0
CRS
TXEPT
CRD
NCH
CKPOL
UFORM
UiC1
TE
TI
RE
RI
U2IRS (Note 1)
U2RRM (Note 1)
U2LCH(Note 3)
U2ERE(Note 3)
U2SMR
0 to 7
U2SMR2
0 to 7
U2SMR3
0 to 2
NODC
4 to 7
U2SMR4
0 to 7
UCON
U0IRS, U1IRS
U0RRM, U1RRM
CLKMD0
CLKMD1
RCSP
7
Note 1: Set the U0C1 and U1C1 register bit 4 and bit 5 to "0". The U0IRS, U1IRS, U0RRM and U1RRM bits
are in the UCON register.
Note 2: Not all register bits are described above. Set those bits to "0" when writing to the registers in clock
synchronous serial I/O mode.
Note 3: Set the U0C1 and U1C1 register bit 6 and bit 7 to "0".
Note 4: Set the U0MR and U1MR register bit 7 to "0".
i=0 to 2
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
Set transmission data
Reception data can be read
Overrun error flag
Set a transfer rate
Set to "001
"
2
Select the internal clock or external clock
Select the count source for the UiBRG register
_______
Select CTS or RTS to use
Transmit register empty flag
Enable or disable the CTS or RTS function
Select TxDi pin output mode
Select the transfer clock polarity
Select the LSB first or MSB first
Set this bit to "1" to enable transmission/reception
Transmit buffer empty flag
Set this bit to "1" to enable reception
Reception complete flag
Select the source of UART2 transmit interrupt
Set this bit to "1" to use UART2 continuous receive mode
Set this bit to "1" to use UART2 inverted data logic
Set to "0"
Set to "0"
Set to "0"
Set to "0"
Select clock output mode
Set to "0"
Set to "0"
Select the source of UART0/UART1 transmit interrupt
Set this bit to "1" to use continuous receive mode
Select the transfer clock output pin when CLKMD1 = 1
Set this bit to "1" to output UART1 transfer clock from two pins
Set this bit to "1" to accept as input the UART0 CTS
Set to "0"
page 174 of 402
Function
_______
_______
_______
14.1 UARTi (i=0 to 2)
_________
signal from the P6
0
4
pin

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents