AT commands
Parameter range
1, 2, 4 - 6
Parameter
0
1
2
3
4
5
6
Default
1
PD (Pull Direction)
The resistor pull direction bit field (1 = pull-up, 0 = pull-down) for corresponding I/O lines that are set
by the PR command.
Parameter range
0x0 - 0xFFFFF
Default
0xFFFFF
PR (Pull-up/Down Resistor Enable)
PR and PD only affect lines that are configured as digital inputs or disabled.
The following table defines the bit-field map for PR and PD commands.
The bit field that configures internal pull-up/down resistors status for I/O lines. If you set a PR bit to 1,
it enables the internal pull-up/down resistor, 0 specifies no internal pull-up/down. The following table
defines the bit-field map for both the PR and PD commands.
Bit
I/O line
0
DIO4/AD4
1
DIO3/AD3
2
DIO2/AD2
3
DIO1/AD1
4
DIO0/AD0
XBee®/XBee-PRO SX RF Module User Guide
Description
Disabled
SPI_ATTN
N/A
N/A
Digital output low
Digital output high
UART data present indicator
Module pin
24
30
31
32
33
I/O settings commands
94