AT commands I/O settings commands
Digi XBee3 Cellular LTE-M Global Smart Modem User Guide
123
See PR (Pull-up/down Resistor Enable) for bit mappings, which are the same.
Parameter range
0x0 – 0x7FFF
Default
0 – 0x7FFF
PR (Pull-up/down Resistor Enable)
Sets or displays the bit field that configures the internal resistor status for the digital input lines.
Internal pull-up/down resistors are not available for digital output pins, analog input pins, or for
disabled pins.
Use the PD command to specify whether the resistor is pull-up or pull-down.
n If you set a PR bit to 1, it enables the pull-up/down resistor.
n If you set a PR bit to 0, it specifies no internal pull-up/down resistor.
The following table defines the bit-field map for both the PR and PD commands.
Bit I/O line Module pin
0 DIO4 pin 11
1 DIO3/AD3 pin 17
2 DIO2/AD2 pin 18
3 DIO1/AD1 pin 19
4 DIO0/AD0 pin 20
5
DIO6/RTS
pin 16
6 DIO8/SLEEP_REQUEST pin 9
7
DIO14/DIN
pin 3
8 DIO5/ASSOCIATE pin 15
9
DIO9/On/SLEEP
pin 13
10 DIO12 pin 4
11 DIO10 pin 6
12 DIO11 pin 7
13
DIO7/CTS
pin 12
14 DIO13/DOUT pin 17
Parameter range
0 - 0x7FFF (bit field)
Default
0x7FFF