Enum pl_io_num
Enum pl_io_num contains the list of constants that refer to available general-purpose I/O (GPIO) lines. Use these constants when selecting the line with the io. object (see the io.num property).
Note that GPIO lines are unidirectional and require explicit configuration as outputs or inputs (see the io.enabled property).
Enum pl_io_num includes the following constants:
0 — PL_IO_NUM_0: |
Socket 1, control line C. |
1 — PL_IO_NUM_1: |
Socket 5, control line C. |
2 — PL_IO_NUM_2: |
Socket 9, control line C. |
3 — PL_IO_NUM_3: |
Socket 13, control line C. |
4 — PL_IO_NUM_4: |
Socket 3, control line C. |
5 — PL_IO_NUM_5: |
Socket 7, control line C. |
6 — PL_IO_NUM_6: |
Socket 11, control line C. |
7 — PL_IO_NUM_7: |
Socket 15, control line C. |
8 — PL_IO_NUM_8: |
Socket 1, control line B. |
9 — PL_IO_NUM_9: |
Socket 1, control line A. |
10 — PL_IO_NUM_10: |
Socket 5, control line B. |
11 — PL_IO_NUM_11: |
Socket 5, control line A. |
12 — PL_IO_NUM_12: |
Socket 9, control line B. |
13 — PL_IO_NUM_13: |
Socket 9, control line A. |
14 — PL_IO_NUM_14: |
Socket 13, control line B. |
15 — PL_IO_NUM_15: |
Socket 13, control line A. |
16 — PL_IO_NUM_16: |
Socket 1, control line D. |
17 — PL_IO_NUM_17: |
Socket 5, control line D. |
18 — PL_IO_NUM_18: |
Socket 9, control line D. |
19 — PL_IO_NUM_19: |
Socket 13, control line D. |
20 — PL_IO_NUM_20: |
Socket 3, control line D. |
21 — PL_IO_NUM_21: |
Socket 7, control line D. |
22 — PL_IO_NUM_22: |
Socket 11, control line D. |
23 — PL_IO_NUM_23: |
Socket 15, control line D. |
24 ~ 31 — PL_IO_NUM_24 ~ 31: |
Reserved |
32 — PL_IO_NUM_32: |
Socket 3, control line A. |
33 — PL_IO_NUM_33: |
Socket 3, control line B. |
34 — PL_IO_NUM_34: |
Socket 7, control line A. |
35 — PL_IO_NUM_35: |
Socket 7, control line B. |
36 — PL_IO_NUM_36: |
Socket 11, control line A. |
37 — PL_IO_NUM_37: |
Socket 11, control line B. |
38 — PL_IO_NUM_38: |
Socket 15, control line A. |
39 — PL_IO_NUM_39: |
Socket 15, control line B. |
254 — PL_IO_NULL: |
This is a NULL line that does not physically exist. The state of this line is always detected as LOW. Setting this line has no effect. |