![](/images/new-backgrounds/1269217/26921749x1.webp)
www.ti.com | Kit Operation |
6.9.1.1GPIO Capability
The
Table 9. GPIO Pin Assignments
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
x | P3.5 | P3.4 | P3.3 | P1.3 | P1.2 | P1.1 | P1.0 |
Example: write P3.5 to a 0, all others to 1:
[0]0x18
[1]0x00
[2]0x01
[3]0x00
[4]0x3F
The user may also read back from the GPIO to see the state of the pins. Suppose the port pins were written as in the previous example.
Example: read the GPIO
[0]0x08
[1]0x00
[2]0x01
[3]0x00
The return packet should be:
[0]0x28
[1]0x00
[2]0x01
[3]0x00
[4]0x3F
25 |
Submit Documentation Feedback