| Online Development Notebook > Index > ODN > Raw Device Programming > 0E - StrobeReadsCmd |
Command #0E - StrobeReadsCmd
VERSION less than 1.32 and 1.38+ of the firmware
Description:
Strobe read of a 1 to 6 byte value from a port. This command uses port A or B for the byte read, as well as a polarity (negative or positive) and a line (A.0 - B.7) to toggle based on the previously executed StrobeWriteCmd or StrobeReadCmd.
Command Format:
| Byte Number | Description |
| 0 | 0Eh: StrobeReadCmd |
| 1 | Number of Bytes (1-6) |
| 2 | <not used> |
| 3 | <not used> |
| 4 | <not used> |
| 5 | <not used> |
| 6 | <not used> |
| 7 | <not used> |
Command Format Details:
Byte 0 contains the command. Byte 1 is the number of data bytes to read.
Byte 2 through byte 7 are unused.
Response Format:
| Byte Number | Description |
| 0 | 0Eh: StrobeReadCmd |
| 1 | <not used> |
| 2 | Byte value read |
| 3 | Byte value read |
| 4 | Byte value read |
| 5 | Byte value read |
| 6 | Byte value read |
| 7 | Byte value read |
Response Format Details:
Byte 0 contains the command. Byte 1 is unused. Byte 2 through byte 7 contain the data read.
Example Usage:
Control this command's port for the byte, polarity and strobe line by using the StrobeWriteCmd or StrobeReadCmd. This command will then use the same selected port, polarity, and strobe line to read up to 6 bytes.
| Hardware: U401 USB Interface U421 USB Interface |
| Programming: USBm DLL Programming Download Files |
| Application Notes: U4x1 Application Notes Misc Applications and Information FAQ |