I/O Sampling Commands; Ic (Dio Change Detect) - Digi XBee DigiMesh 2.4 User Manual

Radio frequency (rf) module
Table of Contents

Advertisement

AT commands
Parameter range
0 - 0xFF (x 100 ms)
Default
0x28 (four seconds)

I/O sampling commands

The following AT commands configure I/O sampling parameters.

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.
The data transmission contains only DIO data.
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
0
1
2
3
4
5
6
7
8
9
10
11
12
Parameter range
0 - 0xFFFF (bit field)
Default
0
XBee/XBee-PRO DigiMesh 2.4 RF Module User Guide
I/O line
DIO0
DIO1
DIO2
DIO3
DIO4
DIO5
DIO6
DIO7
DIO8
DIO9
DIO10
DIO11
DIO12
I/O sampling commands
Module pin
33
32
31
30
24
28
29
25
10
26
7
8
5
96

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro digimesh 2.4

Table of Contents