I/O Port Control Registers; Panasonic - Panasonic MN10285K User Manual

Panax series microcomputer
Table of Contents

Advertisement

I/O Ports

I/O Port Control Registers

Do not activate the pullup resis-
tors when the pins are in output
mode. This will cause incorrect
output voltage levels and
increase power and current con-
sumption.
Writing a 0 to P5OUT3 causes a
reset to occur.
MN102H75K/F75K/85K/F85K LSI User Manual
11.3 I/O Port Control Registers
P0PUP–P5PUP: Ports 0–5 Pullup Resistor Control Registers x'00FFB0'–x'00FFB5'
P7PUP–P8PUP: Ports 7–8 Pullup Resistor Control Registers x'00FFB8'–x'00FFBA'
Bit:
7
6
5
4
PnPUP7 PnPUP6 PnPUP5 PnPUP4 PnPUP3 PnPUP2 PnPUP1 PnPUP0
Reset:
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
P6PUP: Port 6 Pullup Resistor Control Register
Bit:
7
6
5
4
0
0
0
0
Reset:
0
0
0
0
R/W:
R
R
R
R
The PnPUP registers control the port pullup resistors. The bit number cor-
responds to the associated pin number. For instance, P0PUP7 applies to the
P07 pin. These are 8-bit access registers.
0: Pullup resistor off
1: Pullup resistor on
Note that by default the P7P8CNT bit of the PCNT2 register forces the
pullup resistors on for ports 7 and 8. P7PUP and P8PUP are only valid
when P7P8CNT is 1.
P0OUT–P5OUT: Ports 0–5 Output Control Registers
P7OUT–P8OUT: Ports 7–8 Output Control Registers
Bit:
7
6
5
4
PnOUT7 PnOUT6 PnOUT5 PnOUT4 PnOUT3 PnOUT2 PnOUT1 PnOUT0
Reset:
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
P6OUT: Port 6 Output Control Register
Bit:
7
6
5
4
0
0
0
0
Reset:
0
0
0
0
R/W:
R
R
R
R
The PnOUT registers contain the port output data. The bit number corre-
sponds to the associated pin number. For instance, P0OUT7 applies to the
P07 pin. These are 8-bit access registers.
277

Panasonic

3
2
1
0
0
0
0
0
R/W
R/W
R/W
R/W
3
2
1
0
0
0
P6PUP1 P6PUP0
0
0
0
0
R
R
R/W
R/W
3
2
1
0
0
0
0
0
R/W
R/W
R/W
R/W
3
2
1
0
0
0
P6OUT1 P6OUT0
0
0
0
0
R
R
R/W
R/W
Panasonic Semiconductor Development Company
x'00FFB6'
x'00FFC0'–x'00FFC5'
x'00FFC8'–x'00FFCA'
x'00FFC6'

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn102f75kMn102f85kMn102h75kMn102h85k

Table of Contents