IC (DIO Change Detect)
This command applies to the XBee 3 802.15.4 RF Module.
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 - P5). If the device detects a change on an enabled digital I/O pin, it immediately transmits a digital I/O sample to the address specified by DH + DL. 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 DIO15 can be sampled using a Change Detect.
Bit field
Bit | I/O line | Device pin |
---|---|---|
0 | DIO0 | Micro pin 31/SMT pin 33/TH pin 20 |
1 | DIO1 | Micro pin 30/SMT pin 32/TH pin 19 |
2 | DIO2 | Micro pin 29/SMT pin 31/TH pin 18 |
3 | DIO3 | Micro pin 28/SMT pin 30/TH pin 17 |
4 | DIO4 | Micro pin 23/SMT pin 24/TH pin 11 |
5 | DIO5 | Micro pin 26/SMT pin 28/TH pin 15 |
6 | DIO6 | Micro pin 27/SMT pin 29/TH pin 16 |
7 | DIO7 | Micro pin 24/SMT pin 25/TH pin 12 |
8 | DIO8 | Micro pin 9/SMT pin 10/TH pin 9 |
9 | DIO9 | Micro pin 25/SMT pin 26/TH pin 13 |
10 | DIO10 | Micro pin 7/SMT pin 7/TH pin 6 |
11 | DIO11 | Micro pin 8/SMT pin 8/TH pin 7 |
12 | DIO12 | Micro pin 5/SMT pin 5/TH pin 4 |
13 | DIO13 | Micro pin 3/SMT pin 3/TH pin 2 |
14 | DIO14 | Micro pin 4/SMT pin 4/TH pin 3 |
Parameter range
0 - 0x7FFF
Default
0