MC81F4x16
PUR0
R0 PORT PULL-UP ENABLE REGISTER
00C9H
Using the PUR0 register, you can configure pull-up resistors to individual R07-R00 pins.
7
6
5
4
3
2
1
0
PUR07 PUR06 PUR05 PUR04 PUR03 PUR02 PUR01 PUR00
R/W R/W R/W R/W R/W R/W R/W R/W
PUR0
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
PUR07
PUR06
PUR05
PUR04
PUR03
PUR02
PUR01
PUR00
R07 Pull-up Resistor Enable Bit
R06 Pull-up Resistor Enable Bit
R05 Pull-up Resistor Enable Bit
R04 Pull-up Resistor Enable Bit
R03 Pull-up Resistor Enable Bit
R02 Pull-up Resistor Enable Bit
R01 Pull-up Resistor Enable Bit
R00 Pull-up Resistor Enable Bit
R0
R0 PORT DATA REGISTER
00C0H
7
6
5
4
3
2
1
0
R07
R06
R05
R04
R03
R02
R01
R00
R0
Reset value: 00H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
In input mode, it represents the R0 port status.
In output mode, R0 port represents it.
1: High
0 : Low
October 19, 2009 Ver.1.35
77