Lantronix XPort Direct+ User Manual page 66

Device server
Table of Contents

Advertisement

Command 10h, Get Functions
Send:
Response:
Command 11h, Get Directions
Send:
Response:
Command 12h, Get Active Levels
Send:
Response:
Command 13h, Get Current States
Send:
Response:
Command 19h, Set Directions
Send:
Response:
XPort Direct+ User Guide
No parameters
1 parameter
Bytes 1-4: Functions
Bit X
1 means general purpose I/O available to the user.
0 means dedicated function (e.g., serial flow control, diagnostics) for
configurable pin X.
No parameters
1 parameter
Bytes 1-4: Directions
Bit X
1 means GPIO X is an output.
0 means it is an input.
No parameters
1 parameter
Bytes 1-4: Active levels
Bit X
1 means GPIO X is active low (0V when active, 3.3V when inactive).
0 means it is active high (3.3V when active, 0V when inactive).
No parameters
1 parameter
Bytes 1-4: States
Bit X
1 means GPIO X is active
0 means it is inactive.
2 parameters
Bytes 1-4: Mask
Bit X
1 means the direction for GPIO X will be updated with the value in the
second parameter.
0 means the direction for that GPIO will not change.
Bytes 5-8: New Directions
Bit X
1 means GPIO X will become an output.
0 means it will become an input.
1 parameter
Bytes 1-4: The updated directions
9: GPIO Interface
66

Advertisement

Table of Contents
loading

Table of Contents