
AT commands
I/O settings commands
XBee Wi-Fi RF Module User Guide
167
Default
0 - 0x7FFF (TH)
0-0xFFFFF (SMT)
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.
If the bit is not set in
PR
, the device uses
PD
.
Note
Resistors are not applied to disabled lines.
Parameter range
0x0 – 0x7FFF on TH
0x0 – 0xFFFFF on SMT
Default
0 – 0x7FFF on TH
0 – 0xFFFFF on SMT
DS (Drive Strength)
Set or read the output drive strength (output amperes) for DIO lines. Bits are mapped the same as the
PR
and
PD
commands. If you set the bit, the drive strength is 6 mA; otherwise, it is 2 mA.
Parameter range
0 – 0x7FFF on TH
0 – 0xFFFFF on SMT
Default
0
AV (Analog Voltage Reference)
Set or read the analog voltage reference. This specifies the volts for an analog reading of 0X03FF,
where a reading of 0x200 indicates a voltage input that is half of VREF. VREF may be one of the values
in the following table.
Parameter range
0, 1
Parameter
Description
0
1.25 V reference
1
2.5 V reference
Default
1