![](http://datasheet.mmic.net.cn/330000/MB90487PFV_datasheet_16437531/MB90487PFV_30.png)
MB90480/485 Series
30
(3) Port Input Resistance Registers
RDR0
Address : 00001C
H
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 significance (no pull-up resistance) . Input/output mode settings are
controlled by the port direction (DDR) registers.
In case of a stop (SPL
=
1) , no pull-up resistance is applied (high impedance) . This function is prohibited when
an external bus is used. Do not write to these registers.
(4) Port Output Pin Registers
ODR7
Address : 00001E
H
OD75
OD74
OD73
OD76*
1
OD77*
1
*1 : The value is set to “
” on MB90485 series only.
*2 : The initial value of this bit is “XX000000
B
” 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 significance (Hi-Z output) . Input/output mode settings are controlled by
direction (DDR) registers. This function is prohibited when an exteral bus is used. Do not write to these registers.
(5) Analog Input Enable Register
ADER
Address : 00001F
H
This resister 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
Address : 00000B
H
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”.
The MB90480/485 series uses the following setting values : UDE0 : P30/AIN0, UDE1 : P31/BIN0/UDE2 : P32/
ZIN0,
UDE3 : P33/AIN1, UDE4 : P34/BIN1, UDE5 : P35/
ZIN1
Initial value
00000000
B
Access
R/W
RDR1
Address : 00001D
H
00000000
B
R/W
7
6
5
4
3
2
1
0
RD06
RD07
RD05
RD04
RD03
RD02
RD01
RD00
7
6
5
4
3
2
1
0
RD16
RD17
RD15
RD14
RD13
RD12
RD11
RD10
Initial value
00000000
B
*
2
Access
R/W
ODR4
Address : 00001B
H
00000000
B
R/W
7
6
5
4
3
2
1
0
OD72
OD71
OD70
7
6
5
4
3
2
1
0
OD46
OD47
OD45
OD44
OD43
OD42
OD41
OD40
Initial value Access
11111111
B
R/W
7
6
5
4
3
2
1
0
ADE6
ADE7
ADE5
ADE4
ADE3
ADE2
ADE1
ADE0
Initial value
XX000000
B
Access
R/W
7
6
5
4
3
2
1
0
UDE5
UDE4
UDE3
UDE2
UDE1
UDE0