;Compiled with TASM : tasm enum -> tlink enum /t -> enum.com ; .MODEL TINY .CODE ORG 100h START: ;set up UR…
URB包 源代码
汇集 URB包 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
'This sample prints the DosUSB.TXT document to a HP Laserprinter in text 'mode. There are some PCL commands before and after the …
'This sample retrieves the identity of an Epson Perfection 1670 scanner defint a-z cls devadd%=1 in_endpoint%=1 out_end…
Program restart (output); {This sample issues a restart to DosUSB which check for new and removed devices and enumerates all …
'This sample prints the DosUHCI.TXT document to a HP Laserprinter in text 'mode. There are some PCL commands before and after the…
Program reset (output); {This sample issues a reset to DosUSB for device "dev_add". Since new devices will not be enumerated,…
'This sample reads sector zero of a USB memory stick using 'the bulk only protocol. defint a-z cls devadd%=1 in_endpoin…
'This sample prints "Printed by DosUHCI" on an Epson LQ-590 matrix printer. 'There are some ESC/P control codes before and after …
defint a-z 'define structure of URB type urbtype transaction_token as byte 'control (2Dh), in (69h), out (E1h) as hex code …
{$i-} Program HPLASER; (* This sample prints the DosUHCI.TXT document to a HP Laserprinter in text mode. There are some PC…