English
Language : 

M16C62_M Datasheet, PDF (583/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Appendix 3 Setting register for pin function selected
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Pin name P71/RXD2/TA0IN/TB5IN/SCL
Pin No.
29 (FP)
27 (GP)
Function selection
1,3EFh 6,3FDh
7,382h
Setting register
6,382h 4,396h 7,35Dh
TA0IN
I Gate function level input
0
X
0
0
1
0
TA0IN
I Count source input
0
X
0
0
X
0
TA0IN
I External trigger input
0
X
0
0
1
0
TB5IN
I Count source input
0
0
X
X
X
1
SCL
O IIC clock output
0
0
X
X
X
0
SCL
I IIC clock input
0
0
X
X
X
0
RXD2
I Serial I/O data input
0
0
X
X
X
0
P71
I Port input
0
0
X
X
X
0
P71
O Port output
1
X
X
X
X
0
1,3EFh Port P71 direction register
6,3FDh P70 to P73 pull-up control register
7,382h Bit 7 of one-shot start flag
6,382h Bit 6 of one-shot start flag
4,396h Bit 4 of timer A0 mode register
7,35Dh Event clock select bit of timer B5 mode register
0,377h IIC mode select bit
3,378h Internal /external clock select bit
Remark 1 : Set serial I/O enabled by serial I/O mode select bit of UART2 transmit/receive mode register.
0,377h
0
0
0
X
1
1
0
0
0
3,378h
X
X
X
0
0
1
X
X
X
Remarks Page
1-78
1-78
1-78
1-90
1
1-137
1
1-137
1
1-108
1-163
1-163
1-168
1-170
1-82
1-82
1-80
1-90
1-137
1-127
Pin name P70/TXD2/TA0OUT/SDA
Pin No.
30 (FP)
28 (GP)
Function selection
0,3EFh 6,3FDh
4,396h
Setting register
2,396h 0,377h 6,376h
TA0OUT O Pulse output
X
X
X
1
0
X
TA0OUT I Up/down polarity select input
0
X
1
0
0
X
TXD2
O Serial I/O data output
X
X
X
X
0
X
SDA
I IIC data input
0
0
0
0
1
1
SDA
O IIC data output
0
0
0
0
1
0
P70
I Port input
0
0
0
0
0
X
P70
O Port output
1
X
0
0
0
X
0,3EFh Port P70 direction register
6,3FDh P70 to P73 pull-up control register
4,396h Bit 4 of timer A0 mode register
2,396h Bit 2 of timer A0 mode register
0,377h IIC mode select bit
6,376h SDA output stop bit
Remark 1: Set serial I/O enabled by serial I/O mode select bit of UART2 transmit/receive mode register.
Remark 2: N channel open-drain output.
Remarks Page
1-78
1-78
1, 2
1-108
1
1-137
1, 2
1-137
1-163
1-163
1-168
1-170
1-80
1-80
1-137
1-141
2-266