
8.3 Registers and register details
106
Chapter 8: Parallel Ports
MB90580 Series
8.3.3 Output pin register
This register controls the open drain in output mode.
Note:
This register is not used in input mode. (Output Hi-z)
Note:
Input or output mode is determined by the direction register (DDR).
Note:
No pull-up resistor is used during hardware standby and stop (SPL=1). (High imped-
ance)
Note:
This function is inhibited when an external bus is used. When using an external bus,
do not write data in this register.
8.3.4 Input resistor register
This register controls whether to use a pull-up resistor in input mode.
Note:
This register has no use in output mode (no pull-up resistor is used).
Note:
Input or output mode is determined by the direction register (DDR).
Note:
No pull-up resistor is used during hardware standby and stop (SPL=1). (High impedance)
Note:
This function is inhibited when an external bus is used. When using an external bus, do not
write data in this register.
0
Standard output port in output mode
[initial value]
1
Open drain output port in output mode
0
No pull-up resistor used in input mode.
[initial value]
1
Pull-up resistor used in input mode.
OD47 OD46 OD45 OD44 OD43
OD42 OD41 OD40
15
14
13
12
11
10
9
8
Address : 00001B
H
Port 4 pin register
R/W R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0 0
Read/write
Initial value
Bit number
ODR4
RD17 RD16 RD15 RD14 RD13
RD12 RD11 RD10
15
16
15
14
13
12
11
10
Address : 00008D
H
RD07 RD06
RD65 RD64 RD63
RD62 RD61 RD60
7
6
5
4
3
2
1
0
Address : 00008E
H
Read/write
Initial value
RD05 RD04 RD03
RD02 RD01 RD00
7
6
5
4
3
2
1
0
Address : 00008C
H
Port 6 resistor register
Port 0 resistor register
Port 1 resistor register
R/W R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0 0
Read/write
Initial value
R/W R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0 0
Read/write
Initial value
R/W R/W R/W R/W R/W R/W R/W R/W
- - 0 0 0 0 0 0
Bit number
Bit number
Bit number
RDR0
RDR6
RDR1