AT commands
I/O settings commands
XBee/XBee-PRO DigiMesh 2.4 RF Module User Guide
94
Parameter
Description
0
Disabled
1
N/A
2
N/A
3
Digital input
4
Digital output, low
5
Digital output, high
Default
0
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 the internal pull-up resistor status for the I/O lines. If you set a
PR
bit to 1,
it enables the pull-up resistor; 0 specifies no internal pull-up. 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
5
DIO6/RTS
6
DIO8/SLEEP_REQUEST
7
DIO14/DIN/CONFIG
8
DIO5/AD6/ASSOCIATE
9
DIO9/On/SLEEP
10
DIO12
11
DIO10/RSSI/PWM0
12
DIO11/PWM1
13
DIO7/CTS
14
DOUT (pin 2)