IO16Cmd
A code used to set up the SDM-IO16:
Code |
Description |
---|---|
1 | Read port 1's accumulated counts into Dest |
2 | Read port 2's accumulated counts into Dest |
3 | Read port 3's accumulated counts into Dest |
4 | Read port 4's accumulated counts into Dest |
5 | Read port 5's accumulated counts into Dest |
6 | Read port 6's accumulated counts into Dest |
7 | Read port 7's accumulated counts into Dest |
8 | Read port 8's accumulated counts into Dest |
9 | Read port 9's accumulated counts into Dest |
10 | Read port 10's accumulated counts into Dest |
11 | Read port 11's accumulated counts into Dest |
12 | Read port 12's accumulated counts into Dest |
13 | Read port 13's accumulated counts into Dest |
14 | Read port 14's accumulated counts into Dest |
15 | Read port 15's accumulated counts into Dest |
16 | Read port 16's accumulated counts into Dest |
17 | Read ports 1-4's accumulated counts into Dest (Dest must be dimensioned to 4) |
18 | Read ports 5-8's accumulated counts into Dest (Dest must be dimensioned to 4) |
19 | Read ports 9-12's accumulated counts into Dest (Dest must be dimensioned to 4) |
20 | Read ports 13-16's accumulated counts into Dest (Dest must be dimensioned to 4) |
21 | Read ports 1-8's accumulated counts into Dest (Dest must be dimensioned to 8) |
22 | Read ports 9-16's accumulated counts into Dest (Dest must be dimensioned to 8) |
23 | Read ports 1-16's accumulated counts into Dest (Dest must be dimensioned to 16) |
24 | Read port 1's frequency into Dest |
25 | Read port 2's frequency into Dest |
26 | Read port 3's frequency into Dest |
27 | Read port 4's frequency into Dest |
28 | Read port 5's frequency into Dest |
29 | Read port 6's frequency into Dest |
30 | Read port 7's frequency into Dest |
31 | Read port 8's frequency into Dest |
32 | Read port 9's frequency into Dest |
33 | Read port 10's frequency into Dest |
34 | Read port 11's frequency into Dest |
35 | Read port 12's frequency into Dest |
36 | Read port 13's frequency into Dest |
37 | Read port 14's frequency into Dest |
38 | Read port 15's frequency into Dest |
39 | Read port 16's frequency into Dest |
40 | Read ports 1-4's frequency into Dest (Dest must be dimensioned to 4) |
41 | Read ports 5-8's frequency into Dest (Dest must be dimensioned to 4) |
42 | Read ports 9-12's frequency into Dest (Dest must be dimensioned to 4) |
43 | Read ports 13-16's frequency into Dest (Dest must be dimensioned to 4) |
44 | Read ports 1-8's frequency into Dest (Dest must be dimensioned to 8) |
45 | Read ports 9-16's frequency into Dest (Dest must be dimensioned to 8) |
46 | Read ports 1-16's frequency into Dest (Dest must be dimensioned to 16) |
47 | Read port 1's duty cycle into Dest |
48 | Read port 2's duty cycle into Dest |
49 | Read port 3's duty cycle into Dest |
50 | Read port 4's duty cycle into Dest |
51 | Read port 5's duty cycle into Dest |
52 | Read port 6's duty cycle into Dest |
53 | Read port 7's duty cycle into Dest |
54 | Read port 8's duty cycle into Dest |
55 | Read port 9's duty cycle into Dest |
56 | Read port 10's duty cycle into Dest |
57 | Read port 11's duty cycle into Dest |
58 | Read port 12's duty cycle into Dest |
59 | Read port 13's duty cycle into Dest |
60 | Read port 14's duty cycle into Dest |
61 | Read port 15's duty cycle into Dest |
62 | Read port 16's duty cycle into Dest |
63 | Read ports 1-4's duty cycle into Dest (Dest must be dimensioned to 4) |
64 | Read ports 5-8's duty cycle into Dest (Dest must be dimensioned to 4) |
65 | Read ports 9-12's duty cycle into Dest (Dest must be dimensioned to 4) |
66 | Read ports 13-16's duty cycle into Dest (Dest must be dimensioned to 4) |
67 | Read ports 1-8's duty cycle into Dest (Dest must be dimensioned to 8) |
68 | Read ports 9-16's duty cycle into Dest (Dest must be dimensioned to 8) |
69 | Read ports 1-16's duty cycle into Dest (Dest must be dimensioned to 16) |
70 | Set port 1's debounce time from Dest |
71 | Set port 2's debounce time from Dest |
72 | Set port 3's debounce time from Dest |
73 | Set port 4's debounce time from Dest |
74 | Set port 5's debounce time from Dest |
75 | Set port 6's debounce time from Dest |
76 | Set port 7's debounce time from Dest |
77 | Set port 8's debounce time from Dest |
78 | Set port 9's debounce time from Dest |
79 | Set port 10's debounce time from Dest |
80 | Set port 11's debounce time from Dest |
81 | Set port 12's debounce time from Dest |
82 | Set port 13's debounce time from Dest |
83 | Set port 14's debounce time from Dest |
84 | Set port 15's debounce time from Dest |
85 | Set port 16's debounce time from Dest |
86 | Set port 16-13 from Mode parameter |
87 | Set port 12-9 from Mode parameter |
88 | Set port 8-5 from Mode parameter |
89 | Set port 4-1 from Mode parameter |
90 | Set port 16-1 from Mode parameters |
91 | Read state of ports 1-16 into one variable (Dest). The result is a 16-bit decimal representation from 0-65535. |
92 | Read state of ports 1-16 into 16 separate variables (Dest must be dimensioned to 16). Dest(1) holds the state of port 1, Dest(2) port 2, etc. State is represented by 0 or 1. |
93 | Set state of ports 1-16 from a single variable (Dest). Dest should be a 16-bit decimal representation from 0-65535. |
94 | Set state of ports 1-16 from 16 separate variables (Dest must be dimensioned to 16). Dest(1) sets the state of port 1, Dest(2) port 2, etc. State is represented by 0 or 1. |
95 | Set direction of ports 1-16 from a single variable (Dest). Dest should be a 16-bit decimal representation from 0-65535. |
96 | Set direction of ports 1-16 from 16 separate variables (Dest must be dimensioned to 16). Dest(1) sets the direction of port 1, Dest(2) port 2, etc. Direction is represented by 0 or 1. |
97 | Set interrupt mask of ports 1-16 from a single variable (Dest). Dest should be a 16-bit decimal representation from 0-65535. |
98 | Set interrupt mask of ports 1-16 from 16 separate variables (Dest should be dimensioned to 16). Dest(1) sets port 1, Dest(2) port 2, etc. The mask is represented by 0 or 1. |
99 | Read the OS signature, OS version and counters for watchdog resets and communication errors into 4 separate variables (Dest must be dimensioned to 4). Using this command also resets the counters. |
Type: Constant