Samsung S3F80JB User Manual

Page 243

Advertising
background image

S3F80JB

I/O

PORTS

9-5

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.

Pn.4

Pn.3

Pull-up Register Enable Registers (PnPUR, where n = 0/2)

Set 1 , E7H/ EEH , Bank0 , R/W

.7

.6

.5

.4

.3

.2

.1

.0

MSB

LSB

Pn.1

Pn.2

Pn.5

Pn.6

Pn.7

Pn.0

NOTES:
1. Pull-up resistors can be assigned to the port 3 pins, P3.0 and P3.1,
by making the appropriate setting the port 3 control register P3CON.
2. Pull-up resistors can be assigned to the port 3 pins , P3.4 and P3.5
by making the appropriate setting the port 3[4:5] and port3[6:7]
control register P345CON.
3. Pull-up resistors can be assigned to the P1 and P4 pins, by making the
appropriate setting the port 1 control register P1CONL, P1CONH and
the port 4 control register P4CONL, P4CONH respectively.

Pull-up Resistor Enable Bit:
0 = Disable pull-up resistor
1 = Enable pull-up resistor

Figure 9-2. Pull-up Resistor Enable Registers (Port 0 and Port 2 only)

Advertising