|
M16C6NL Datasheet, PDF (203/388 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/6NL, M16C/6NN)
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.00 Nov 28, 2005 page 187 of 364
REJ09B0126-0200
|
▷ |