Pull-Up Resistor Enable Registers - Samsung S3F80P5X User Manual

S3f80p5 microcontrollers
Table of Contents

Advertisement

I/O PORTS

PULL-UP RESISTOR ENABLE REGISTERS

You can assign pull-up resistors to the pin circuits of individual pins in port0 and port1. To do this, you make the
appropriate settings to the corresponding pull-up resistor enable registers; P0PUR. These registers are located in
set 1, bank 0 at locations E7H, respectively, and are read/write accessible using Register addressing mode.
You can assign a pull-up resistor to the port 3 pins, P3.0 − P3.1 in the input mode using basic port configuration
setting in the P3CON registers.
NOTE: Pull-up resistors can be assigned to the port 3 pins, P3.0
9-4
Pull-up Register Enable Registers (PnPUR, where n = 0)
Set 1 , E7H, Bank0 , R/W
MSB
.7
.6
.5
Pn.5
Pn.6
Pn.7
by making the appropriate setting the port 3 control register P3CON.
Figure 9-2. Pull-up Resistor Enable Registers (Port 0 and Port2)
.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
S3F80P5_UM_ REV1.00
.0
LSB
Pn.0
-
P3.1

Advertisement

Table of Contents
loading

Table of Contents