Command reference tables I/O commands
XBee/XBee-PRO ZigBee RF Modules User Guide 164
I/O commands
D7 DIO7 Configuration. Select/Read options for the DIO7 line of
the RF module.
CRE 0 = Disabled
1 = CTS Flow Control
3 = Digital input
4 = Digital output, low
5 = Digital output, high
6 = RS-485 transmit
enable (low enable)
7 = RS-485 transmit
enable (high enable)
1
D6 DIO6 Configuration. Configure options for the DIO6 line of
the RF module.
CRE 0 = Disabled
1 = RTS flow control
3 = Digital input
4 = Digital output, low
5 = Digital output, high
0
1. Node types that support the command: C = Coordinator, R = Router, E = End Device
AT
Command
Name and Description
Node
Type
1
Parameter Range Default
AT
Command
Name and Description
Node
Type
1
Parameter Range Default
IR IO Sample Rate. Set/Read the IO sample rate to enable
periodic sampling. For periodic sampling to be enabled, IR
must be set to a non-zero value, and at least one module pin
must have analog or digital IO functionality enabled (see D0-
D8, P0-P2 commands). The sample rate is measured in
milliseconds.
CRE 0, 0x32:0xFFFF (ms) 0
IC IO Digital Change Detection. Set/Read the digital IO pins to
monitor for changes in the IO state. IC works with the
individual pin configuration commands (D0-D8, P0-P2). If a
pin is enabled as a digital input/output, the IC command can
be used to force an immediate IO sample transmission when
the DIO state changes. IC is a bitmask that can be used to
enable or disable edge detection on individual channels.
Unused bits should be set to 0.
Bit (IO pin):
0 (DIO0 4 (DIO4) 8 (DIO8)
1 (DIO1) 5 (DIO5) 9 (DIO9)
2 (DIO2) 6 (DIO6) 10 (DIO10)
3 (DIO3) 7 (DIO7) 11 (DIO11)
CRE : 0 - 0xFFFF 0