The bit field that configures the internal pull-up resistor status for the I/O lines.

  • If you set a PR bit to 1, it enables the pull-up/down resistor

  • If you set a PR bit to 0, it specifies no internal pull-up/down resistor.

PR and PD only affect lines that are configured as digital inputs (3) or disabled (0).

The following table defines the bit-field map for PR and PD commands.

Bit I/O Line Micro pin Surface-mount pin Through-hole pin

0

DIO4

23

24

11

1

DIO3

28

30

17

2

DIO2

29

31

18

3

DIO1

30

32

19

4

DIO0

31

33

20

5

DIO6

27

29

16

6

DIO8

9

10

9

7

DIO14

4

4

3

8

DIO5

26

28

15

9

DIO9

25

26

13

10

DIO12

5

5

4

11

DIO10

7

7

6

12

DIO11

8

8

7

13

DIO7

24

25

12

14

DIO13

3

3

2

15

DIO15

16

17

N/A

16

DIO16

15

16

N/A

17

DIO17

14

15

N/A

18

DIO18

13

14

N/A

19

DIO19

11

12

N/A

Parameter range

SMT/MMT: 0 - 0xFFFFF

Default

0xE7FF