English
Language : 

STIR4200 Datasheet, PDF (8/21 Pages) List of Unclassifed Manufacturers – USB/lrDA Bridge Controller
OFFICIAL PRODUCT DOCUMENTATION
STIr4200
USB/IrDA Bridge Controller
4.3.3.
4.3.4.
4.3.5.
Read Multiple Registers
The read multiple registers vendor specific command allows the user to read multi-
ple sequential registers from the Digital IR Transceiver. Each register is one byte
wide, so the command indicates the first register to read, the number of registers to
read, and the responding data phase supplies the data from those registers. This
command is also used for the case of reading only one register.
Offset
Field
Size Value (hex)
Description
0 bmRequestType 1 0xc0
Device to host, vendor type, device recipient
1 BRequest
1 0x01
Read multiple registers
2 Wvalue
2 Not used (0x0000)
4 Windex
2 0x0001 – 0x000f First register to read
6 Wlength
2 0x0001 – 0x000f Number of registers to read
Table 6. Read Multiple Registers
Read ROM
The read ROM vendor specific command allows the user to read the contents of the
USB controller endpoint zero ROM. This is primarily a debug feature that allows ver-
ification of the endpoint zero ROM contents. Only 64 bytes of ROM data can be
requested at a time. The responding data phase supplies the data from the endpoint
zero ROM.
Offset
Field
Size Value (hex)
Description
0 BmRequestType 1 0xc0
Device to host, vendor type, device recipient
1 Brequest
1 0x02
Read ROM
2 Wvalue
2 Not used (0x0000)
4 Windex
2 0x0000–0x00ff Base ROM address
6 Wlength
2 0x01–0x0040
Number of ROM locations to read (64 bytes
max per request)
Table 7. Read ROM
Vendor Clear Stall
The vendor clear stall command is included as a potential work around for limita-
tions in early versions of the Microsoft™ USB driver stack. Although not a concern
with the latest operating systems, the earlier versions could have the possibility that
the USB driver stack would not properly clear endpoint stalls. The standard device
clear stall request is also supported.
Offset
Field
Size Value (hex)
Description
0 BmRequestType 1 0x42
Device to host, vendor type, endpoint
recipient
1 Brequest
1 0x01
Clear endpoint stall
2 Wvalue
2 Not used (0x0000)
4 Windex
2 0x0000 – 0x0002 Endpoint on which to clear stall
6 Wlength
2 Not used (0x0000)
Table 8. Vendor Clear Stall
8
3-4200-D1-2.0-0403