B&B Electronics Parallel Printer Card PIOC Manual de usuario Pagina 56

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 64
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 55
GHI Electronics,LLC USBwiz User Manual
USBwiz Command Set
SS<SP>h>tt<SP>rr<SP>vvvv<SP>iiii<SP>lll<CR>
!00<CR>
USBwiz sends the received data from
USB device
!00<CR>
In Data-stage
SS<SP>h>tt<SP>rr<SP>vvvv<SP>iiii<SP>lll<CR>
!00<CR>
USBwiz reads data from the user
!00<CR>
Out Data-stage
Example SS<SP>0>08<SP>06<SP>0100<SP>0000<SP
>0012<CR>
!00<CR>
USBwiz reads data from the user
!00<CR>
OP - Open USB Pipe (Raw Command)
This command opens a pipe to the found endpoint (FE command).
Note: USBwiz has 16 pipe handles.
Format OP<SP>p<CR>
!00<CR>
p USB Pipe
Example OP<SP>0<CR>
!00<CR>
CP - Close Pipe Handle (Raw Command)
Format CP<SP>p<CR>
!00<CR>
p Used USB Pipe
Example CP<SP>0<CR>
!00<CR>
RP - Read Pipe (Raw Command)
Format RP<SP>p>ss<CR>
!00<CR>
$aa<CR>
aa Bytes are
returned
!00<CR>
p Pipe handle
ss size of data to read
aa Actual read size
Example RP<SP>0>F0<CR>
!00<CR>
$40<CR>
64 bytes are
returned
!00<CR>
Read 0xF0 bytes from pipe 0.
0x40 bytes were read
Rev.2.27 Page 56 of 64 www.ghielectronics.com
Vista de pagina 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 62 63 64

Comentarios a estos manuales

Sin comentarios