|
M16C62P_06 Datasheet, PDF (232/421 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES | |||
|
◁ |
M16C/62P Group (M16C/62P, M16C/62PT)
17. Serial Interface
Table 17.16 Registers to Be Used and Settings in Special Mode 2
Register
UiTB (3)
UiRB (3)
UiBRG
UiMR (3)
UiC0
UiC1
UiSMR
UiSMR2
UiSMR3
UiSMR4
UCON
Bit
Function
0 to 7
Set transmission data
0 to 7
Reception data can be read
OER
Overrun error flag
0 to 7
Set a bit rate
SMD2 to SMD0 Set to â001bâ
CKDIR
Set this bit to â0â for master mode or â1â for slave mode
IOPOL
Set to â0â
CLK1, CLK0
Select the count source for the UiBRG register
CRS
Invalid because CRD = 1
TXEPT
Transmit register empty flag
CRD
Set to â1â
NCH
Select TXDi pin output format (2)
CKPOL
Clock phases can be set in combination with the CKPH bit in the UiSMR3 register
UFORM
Set to â0â
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 (1)
Select UART2 transmit interrupt factor
U2RRM (1), UiLCH, Set to â0â
UiERE
0 to 7
Set to â0â
0 to 7
Set to â0â
CKPH
Clock phases can be set in combination with the CKPOL bit in the UiC0 register
NODC
Set to â0â
0, 2, 4 to 7
Set to â0â
0 to 7
Set to â0â
U0IRS, U1IRS
Select UART0 and UART1 transmit interrupt factor
U0RRM, U1RRM Set to â0â
CLKMD0
Invalid because CLKMD1 = 0
CLKMD1, RCSP, 7 Set to â0â
NOTES:
1. Set the bit 4 and bit 5 in the U0C0 and U1C1 register to â0â. The U0IRS, U1IRS, U0RRM and U1RRM bits are
in the UCON register.
2. TXD2 pin is N channel open-drain output. No NCH bit in the U2C0 register is assigned. When write, set to â0â.
3. Not all register bits are described above. Set those bits to â0â when writing to the registers in Special Mode 2.
i = 0 to 2
Rev.2.41 Jan 10, 2006 Page 217 of 390
REJ09B0185-0241
|
▷ |