English
Language : 

M16C6N4 Datasheet, PDF (202/406 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6N4)
15. Serial Interface
Table 15.18 Registers to Be Used and Settings in SIM Mode
Register
U2TB (1)
U2RB (1)
Bit
0 to 7
0 to 7
Function
Set transmission data
Reception data can be read
OER,FER,PER,SUM Error flag
U2BRG
0 to 7
Set a transfer rate
U2MR
SMD2 to SMD0
Set to “101b”
CKDIR
Select the internal clock or external clock
STPS
Set to “0”
PRY
Set this bit to “1” for direct format or “0” for inverse format
PRYE
Set to “1”
IOPOL
Set to “0”
U2C0
CLK1, CLK0
Select the count source for the U2BRG register
CRS
Invalid because the CRD bit = 1
TXEPT
Transmit register empty flag
CRD
Set to “1”
NCH
Set to “0”
CKPOL
Set to “0”
UFORM
Set this bit to “0” for direct format or “1” for inverse format
U2C1
TE
Set this bit to “1” to enable transmission
TI
Transmit buffer empty flag
RE
Set this bit to “1” to enable reception
RI
Reception complete flag
U2IRS
Set to “1”
U2RRM
Set to “0”
U2LCH
Set this bit to “0” for direct format or “1” for inverse format
U2SMR (1)
U2ERE
0 to 3
Set to “1”
Set to “0”
U2SMR2
0 to 7
Set to “0”
U2SMR3
0 to 7
Set to “0”
U2SMR4
0 to 7
Set to “0”
NOTE:
1. Not all register bits are described above. Set those bits to “0” when writing to the registers in SIM mode.
Rev.2.30 Oct 24, 2005 page 184 of 376
REJ09B0009-0230