Lantronix XPort Direct+ User Manual page 68

Device server
Table of Contents

Advertisement

Command details:
1Bh = command 1Bh
01h, 00h, 00h, 00h = the mask that determines which GPIOs will be changed.
00h, 00h, 00h, 00h = the new states
Response details:
1Bh = response to command 1Bh
05h, 00h, 00h, 00h =
Command details:
1Bh = command 1Bh
01h, 00h, 00h, 00h = the mask that determines which GPIOs will be changed.
00h, 00h, 00h, 00h = the new states
Response details:
1Bh = response to command 1Bh
05h, 00h, 00h, 00h =
XPort Direct+ User Guide
bit 0 is 1 → GPIO0 will be changed.
bit 1 is 0 → GPIO1 will remain the same.
bit 0 is 0 → GPIO0 will become 0.
bit 1 is ignored since it is masked out.
bit 0 is 1 → GPIO0 = 1
bit 1 is 0 → GPIO1 = 0
bit 2 is 1 → GPIO2 = 1
The other bits are ignored because there are only two configurable pins on
the XPort Direct+.
bit 0 is 1 → GPIO0 will be changed.
bit 1 is 0 → GPIO1 will remain the same.
bit 0 is 0 → GPIO0 will become 0.
bit 1 is ignored since it is masked out.
bit 0 is 1 → GPIO0 = 1
bit 1 is 0 → GPIO1 = 0
bit 2 is 1 → GPIO2 = 1
The other bits are ignored because there are only three configurable pins on
the XPort Direct+.
9: GPIO Interface
68

Advertisement

Table of Contents
loading

Table of Contents