Samsung S3F80JB manual PULL-UP Resistor Enable Registers

Models: S3F80JB

1 346
Download 346 pages 34.13 Kb
Page 243
Image 243

S3F80JB

I/O PORTS

 

 

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.

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

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

MSB

.7

.6

.5

.4

.3

.2

.1

.0

LSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pn.0

 

 

 

 

 

 

 

 

 

 

 

 

Pn.1

 

 

 

 

 

 

 

 

 

 

Pn.2

 

 

 

 

 

 

 

 

 

 

Pn.3

 

 

 

 

 

 

 

 

 

 

Pn.4

 

 

 

 

 

 

 

 

 

 

Pn.5

 

 

 

 

 

 

 

 

 

 

Pn.6

 

 

Pull-up Resistor Enable Bit:

Pn.7

 

 

 

 

 

 

 

 

 

 

0= Disable pull-up resistor

1= Enable pull-up resistor

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.

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

9-5

Page 243
Image 243
Samsung S3F80JB manual PULL-UP Resistor Enable Registers, Pull-up Resistor Enable Registers Port 0 and Port 2 only