AT commands
I/O settings commands
XBee 868LP RF Modules User Guide
153
Parameter
Description
1
SPI_SCLK
4
Digital output low
5
Digital output high
Default
1
P9 (SPI_ATTN)
Sets or displays the DIO19/SPI_ATTN configuration (pin 12).
Parameter range
0, 1, 4 - 6
Parameter
Description
0
Disabled
1
SPI_ATTN
4
Digital output low
5
Digital output high
6
UART data present indicator
Default
1
PD (Pull Up/Down 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 (bit field)
Default
0x0
PR (Pull-up/Down Resistor Enable)
The bit field that configures the internal pull-up/down resistor status for the I/O lines.
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.
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.