MC81F4x16
PUR2
R2 PORT PULL-UP ENABLE REGISTER
00DBH
Using the PUR2 register, you can configure pull-up resistors to individual R27-R20 pins.
7
6
5
4
3
2
1
0
PUR27 PUR26 PUR25 PUR24 PUR23 PUR22 PUR21 PUR20
R/W R/W R/W R/W R/W R/W R/W R/W
PUR2
Reset value: 00H
0: Disable pull-up resistor
1: Enable pull-up resistor
0: Disable pull-up resistor
1: Enable pull-up resistor
0: Disable pull-up resistor
1: Enable pull-up resistor
0: Disable pull-up resistor
1: Enable pull-up resistor
0: Disable pull-up resistor
1: Enable pull-up resistor
0: Disable pull-up resistor
1: Enable pull-up resistor
0: Disable pull-up resistor
1: Enable pull-up resistor
0: Disable pull-up resistor
1: Enable pull-up resistor
PUR27
PUR26
PUR25
PUR24
PUR23
PUR22
PUR21
PUR20
R27 Pull-up Resistor Enable Bit
R26 Pull-up Resistor Enable Bit
R25 Pull-up Resistor Enable Bit
R24 Pull-up Resistor Enable Bit
R23 Pull-up Resistor Enable Bit
R22 Pull-up Resistor Enable Bit
R21 Pull-up Resistor Enable Bit
R20 Pull-up Resistor Enable Bit
R2
R2 PORT DATA REGISTER
00C2H
7
6
5
4
3
2
1
0
R27
R26
R25
R24
R23
R22
R21
R20
R2
Reset value: FFH
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
In input mode, it represents the R2 port status.
In output mode, R2 port represents it.
1: High
0 : Low
80
October 19, 2009 Ver.1.35