IC (DIO Change Detect)

This command applies to the XBee 3 DigiMesh 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 - P4). 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 DIO14 can be sampled using a Change Detect.

Set unused bits to 0.

Bit field

Bit

I/O line

Micro pin

Surface-mount pin

Through-hole pin

0

DIO0

31

33

20

1

DIO1

30

32

19

2

DIO2

29

31

18

3

DIO3

28

30

17

4

DIO4

23

24

11

5

DIO5

26

28

15

6

DIO6

27

29

16

7

DIO7

24

25

12

8

DIO8

9

10

9

9

DIO9

25

26

13

10

DIO10

7

7

6

11

DIO11

8

8

7

12

DIO12

5

5

4

13

DIO13

3

3

2

14

DIO14

4

4

3

15

N/A

N/A

N/A

N/A

Parameter range

0 - 0x7FFF

Default

0