A SERVICE OF

logo

Cypress CY3640 USB Starter Kit
User’s Guide
Cypress Semiconductor Ver 0.993
Page 36
;
USBInterfaceDescription:
db 09h ; Length
db 04h ; Type (4=interface)
db 00h ; Number of interfaces (0 based)
db 00h ; Alternate settings
db 01h ; Number of endpoints (1 based) (9.6.3)
db 00h ; Class code (0=non-specified,1=kb,2=mouse,3=joystick ???)
db 00h ; Subclass code (0=???)
db 00h ; Protocol code (0=non-specified)
db 05h ; Interface string index (0=non-specified, 1,2,3,...)
USBInterfaceDescriptionEnd:
;*************************************************
; Never used for EP0
USBEndPointDescriptionInt:
db 07h ; Length
db 05h ; Type (5=endpoint)
db 81h ; Address (EP#=1 | [0x80=IN, 0=OUT])
db 03h ; Attribute (0=control,1=isochronous,2=bulk,3=interrupt)
db 08h,00h ; Max packet size
db 0Ah ; Interval (10 ms)
USBEndPointDescriptionIntEnd:
;*************************************************
;
USBStringLanguageDescription:
db 04h ; Length
db 03h ; Type (3=string)
db 09h ; Language: English
db 01h ; Sub-language: US
USBStringDescription1:
db 10h ; Length
db 03h ; Type (3=string)
dsu "Cypress"
USBStringDescription2:
db 18h ; Length
db 03h ; Type (3=string)
dsu "Thermometer"
USBStringDescription3:
; If a SN is used, this must be unique
; for every device or the device may
; not enumerate properly
USBStringDescription4:
db 20h ; Length
db 03h ; Type (3=string)
dsu "Get Temperature"
USBStringDescription5:
db 3Ch ; Length
db 03h ; Type (3=string)
dsu "EndPoint1 10ms Interrupt Pipe"
USBSendROMBufferTail:
CopyrightStrings:
ds "USB Thermometer Project, Version 1.01"
ds "Copyright Slade Systems, Inc., July, 1997"
ds "Copyright Marc Reinig, July, 1997"
ds "Copyright Cypress Semiconductors, Inc., July, 1997"