AT commands I/O sampling commands
XBee®/XBee-PRO SX RF Module User Guide
97
IC (DIO Change Detect)
Set or read the digital I/O pins to monitor for changes in the I/O state.
IC works with the individual pin configuration commands (D0 - D9, P0 - P2). If you enable a pin as a
digital I/O, use the IC command to force an immediate I/O sample transmission when the DIO state
changes. If sleep is enabled, the edge transition must occur during a wake period to trigger a change
detect.
IC is a bitmask you can use to enable or disable edge detection on individual digital I/O lines. Only
DIO0 through DIO12 can be sampled using a Change Detect.
Set unused bits to 0.
Bit I/O line Module pin
0 DIO0 33
1 DIO1 32
2 DIO2 31
3 DIO3 30
4 DIO4 24
5 DIO5 28
6 DIO6 29
7 DIO7 25
8 DIO8 10
9 DIO9 26
10 DIO10 7
11 DIO11 8
12 DIO12 5
Parameter range
0 - 0xFFFF (bit field)
Default
0
IF (Sleep Sample Rate)
Set or read the number of sleep cycles that must elapse between periodic I/O samples. This allows
the firmware to take I/O samples only during some wake cycles. During those cycles, the firmware
takes I/O samples at the rate specified by IR.
Parameter range
1 - 0xFF