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 |
---|---|
0 |
DIO4 |
1 |
DIO3 |
2 |
DIO2 |
3 |
DIO1 |
4 |
DIO0 |
5 |
DIO6 |
6 |
DIO8 |
7 |
DIO14 |
8 |
DIO5 |
9 |
DIO9 |
10 |
DIO12 |
11 |
N/A |
12 |
N/A |
13 |
DIO7 |
14 |
DIO13 |
15 |
DIO15 |
16 |
DIO16 |
17 |
DIO17 |
18 |
DIO18 |
19 |
DIO19 |
See I/O support for I/O pin mapping.
Parameter range
SMT/MMT: 0 - 0xFFFFF
Default
0xE7FF