English
Language : 

M16C80 Datasheet, PDF (215/358 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/80 SERIES
M16C/80 Group
26. Programmable I/O Ports
Pull-up control register 0 (Note)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PUR0
Address
03F016
When reset
0016
Bit symbol
PU00
PU01
PU02
PU03
Bit name
P00 to P03 pull-up
P04 to P07 pull-up
P10 to P13 pull-up
P14 to P17 pull-up
Function
The corresponding port is pulled
high with a pull-up resistance
0 : Not pulled high
1 : Pulled high
RW
PU04
P20 to P23 pull-up
PU05
P24 to P27 pull-up
PU06
PU07
P30 to P33 pull-up
P34 to P37 pull-up
Note: Since P0 to P5 operate as the bus in memory expansion mode and microprocessor
mode, do not set the pull-up control register. However, it is possible to select pull-
up resistance presence to the usable port as I/O port by setting.
Pull-up control register 1 (Note)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PUR1
Address
03F116
When reset
X016
Bit symbol
Bit name
Function
PU10
PU11
PU12
PU13
P40 to P43 pull-up
P44 to P47 pull-up
P50 to P53 pull-up
P54 to P57 pull-up
The corresponding port is pulled
high with a pull-up resistance
0 : Not pulled high
1 : Pulled high
Nothing is assigned.
When write, set "0". When read, their contents are indeterminate.
RW
Note: Since P0 to P5 operate as the bus in memory expansion mode and microprocessor
mode, do not set the pull-up control register. However, it is possible to select pull-
up resistance presence to the usable port as I/O port by setting.
Pull-up control register 2
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PUR2
Address
03DA16
When reset
0016
Bit symbol
Bit name
Function
RW
PU20
PU21
PU22
PU23
PU24
P60 to P63 pull-up
The corresponding port is pulled
P64 to P67 pull-up
high with a pull-up resistance
0 : Not pulled high
P70 to P73 pull-up (Note 1) 1 : Pulled high
P74 to P77 pull-up
P80 to P83 pull-up
PU25
PU26
PU27
P84 to P87 pull-up (Note 2)
P90 to P93 pull-up
P94 to P97 pull-up
Note 1: Since P70 and P71 are N-channel open drain ports, pull-up is not available for them.
Note 2: Except port P85.
Figure 26.13 Pull-up control register (1)
Rev.1.00 Aug. 02, 2005 Page 204 of 329
REJ09B0187-0100