|
M16C30P_07 Datasheet, PDF (180/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES | |||
|
◁ |
M16C/30P Group
15. Serial Interface
Table 15.19 Registers to Be Used and Settings in SIM Mode
Register
U2TB (1)
U2RB (1)
U2BRG
U2MR
U2C0
U2C1
U2SMR (1)
U2SMR2
U2SMR3
U2SMR4
Bit
Function
0 to 7
Set transmission data
0 to 7
Reception data can be read
OER,FER,PER,SUM Error flag
0 to 7
Set a bit rate
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â
CLK1, CLK0
Select the count source for the U2BRG register
CRS
Invalid because CRD = 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
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
U2ERE
Set to â1â
0 to 3
Set to â0â
0 to 7
Set to â0â
0 to 7
Set to â0â
0 to 7
Set to â0â
NOTES:
1. Not all register bits are described above. Set those bits to â0â when writing to the registers in SIM mode.
Rev.1.22 Mar 29, 2007 Page 164 of 291
REJ09B0179-0122
|
▷ |