MB90480/485 Series
(3) Port Input Resistance Registers
RDR0
Initial value Access
7
6
5
4
3
2
1
0
Address : 00001CH
00000000B
R/W
RD07
RD06
RD05
RD04
RD03
RD02
RD01
RD00
RDR1
7
6
5
4
3
2
1
0
Address : 00001DH
00000000B
R/W
RD17
RD16
RD15
RD14
RD13
RD12
RD11
RD10
These registers control the use of pull-up resistance in input mode.
0 : No pull-up resistance in input mode.
1 : With pull-up resistance in input mode.
In output mode, these registers have no function (no pull-up resistance) . Input/output mode settings are
controlled by the setting of port direction (DDR) registers.
In case of a stop (SPL = 1) , no pull-up resistance is applied (high impedance) . Using of this function is prohibited
when an external bus is used. Do not write to these registers.
(4) Port Output Pin Registers
ODR7
Initial value Access
7
6
5
4
3
2
1
0
OD76*1 OD75
OD74
OD73
OD72
OD71
OD70
OD77*1
Address : 00001EH
00000000B*2
R/W
ODR4
7
6
5
4
3
2
1
0
Address : 00001BH
00000000B
R/W
OD47
OD46
OD45
OD44
OD43
OD42
OD41
OD40
*1 : The value is set to “⎯” on MB90485 series only.
*2 : The initial value of this bit is “XX000000B” on MB90485 series only.
These registers control open drain settings in output mode.
0 : Standard output port functions in output mode.
1 : Open drain output port in output mode.
In input mode, these registers have no function (Hi-Z output) . Input/output mode settings are controlled by the
setting of port direction (DDR) registers. Using of this function is prohibited when an external bus is used. Do
not write to these registers.
(5) Analog Input Enable Register
ADER
Initial value Access
11111111B R/W
7
6
5
4
3
2
1
0
Address : 00001FH
ADE7
ADE6
ADE5
ADE4
ADE3
ADE2
ADE1
ADE0
This register controls the port 6 pins as follows.
0 : Port input/output mode.
1 : Analog input mode. The default value at reset is all “1”.
(6) Up/down Timer Input Enable Register
UDER
Initial value Access
XX000000B R/W
7
6
5
4
3
2
1
0
Address : 00000BH
⎯
⎯
UDE5
UDE4
UDE3
UDE2
UDE1
UDE0
This register controls the port 3 pins as follows.
0 : Port input mode.
1 : Up/down timer input mode.The default value at reset is “0”.
35