|
M16C26A Datasheet, PDF (193/352 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES | |||
|
◁ |
M16C/26A Group (M16C/26A, M16C/26B, M16C/26T)
13. Serial I/O
Table 13.1.6.2. Registers to Be Used and Settings in SIM Mode
Register
U2TB(1)
U2RB(1)
U2BRG
U2MR
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 transfer rate
SMD2 to SMD0 Set to â1012â
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 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
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
U2ERE
U2SMR(1) 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 bits in registers are described above. Set those bits to â0â when writing to the registers in SIM
mode.
Rev. 2.00 Feb.15, 2007 page 176 of 329
REJ09B0202-0200
|
▷ |