Pull-Up Resistor Enable Registers (Port 0 And Port 2 Only) - Samsung S3F80JB User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

S3F80JB
PULL-UP RESISTOR ENABLE REGISTERS
You can assign pull-up resistors to the pin circuits of individual pins in port0 and port2. To do this, you make the
appropriate settings to the corresponding pull-up resistor enable registers; P0PUR and P2PUR. These registers
are located in set 1, bank 0 at locations E7H and EEH, respectively, and are read/write accessible using Register
addressing mode.
You can assign a pull-up resistor to the port 1 and port 4 pins, using basic port configuration setting in the
P1CONH, P1CONL, P4CONH, and P4CONL.
You can assign a pull-up resistor to the port 3 pins, P3.0, P3.1, P3.4, and P3.5 in the input mode using basic port
configuration setting in the P3CON and P345CON registers.
P3.2–P3.3 are configured only input pins with pull-up resistor.
MSB
NOTES:
1. Pull-up resistors can be assigned to the port 3 pins, P3.0 and P3.1,
2. Pull-up resistors can be assigned to the port 3 pins , P3.4 and P3.5
3. Pull-up resistors can be assigned to the P1 and P4 pins, by making the
Figure 9-2. Pull-up Resistor Enable Registers (Port 0 and Port 2 only)
Pull-up Register Enable Registers (PnPUR, where n = 0/2)
Set 1 , E7H/ EEH , Bank0 , R/W
.7
.6
.5
Pn.5
Pn.6
Pn.7
by making the appropriate setting the port 3 control register P3CON.
by making the appropriate setting the port 3[4:5] and port3[6:7]
control register P345CON.
appropriate setting the port 1 control register P1CONL, P1CONH and
the port 4 control register P4CONL, P4CONH respectively.
.4
.3
.2
.1
Pn.1
Pn.2
Pn.3
Pn.4
Pull-up Resistor Enable Bit:
0 = Disable pull-up resistor
1 = Enable pull-up resistor
.0
LSB
Pn.0
I/O PORTS
9-5

Advertisement

Table of Contents
loading

Table of Contents