欢迎访问ic37.com |
会员登录 免费注册
发布采购

L-USS820FD-DB 参数 Datasheet PDF下载

L-USS820FD-DB图片预览
型号: L-USS820FD-DB
PDF下载: 下载PDF文件 查看货源
内容描述: USB设备控制器 [USB Device Controller]
分类和应用: 外围集成电路控制器时钟
文件页数/大小: 56 页 / 846 K
品牌: AGERE [ AGERE SYSTEMS ]
 浏览型号L-USS820FD-DB的Datasheet PDF文件第37页浏览型号L-USS820FD-DB的Datasheet PDF文件第38页浏览型号L-USS820FD-DB的Datasheet PDF文件第39页浏览型号L-USS820FD-DB的Datasheet PDF文件第40页浏览型号L-USS820FD-DB的Datasheet PDF文件第42页浏览型号L-USS820FD-DB的Datasheet PDF文件第43页浏览型号L-USS820FD-DB的Datasheet PDF文件第44页浏览型号L-USS820FD-DB的Datasheet PDF文件第45页  
Data Sheet, Rev. 1
August 2004
USS-820FD
USB Device Controller
Firmware Responsibilities for USB SETUP Commands
All SETUP commands are passed through from the USB host to the corresponding receive FIFO (assuming no
data transfer errors). Firmware must interpret and execute each command according to its USB definition.
Reception of a new SETUP command can be identified by the RXSETUP bit being set when a receive interrupt is
generated. Any old data in the receive FIFO is overwritten by a new SETUP command. The STOVW register bit is
set by hardware when a new SETUP packet is detected. When the complete SETUP packet has been written,
hardware resets the STOVW bit and sets the EDOVW bit. If either the STOVW or EDOVW bit is set, the effect of
any firmware actions on the FIFO pointers is blocked. This prevents the FIFO from underflowing as a result of firm-
ware attempting to read the FIFO while hardware is writing a new setup packet. Firmware must reset the EDOVW
bit, read the SETUP command from the FIFO, and then check the STOVW and EDOVW bits. If either is set, the
SETUP that was just read out is old and should be discarded. Firmware must then proceed with reading the new
SETUP command.
Firmware responsibilities for interpreting and executing USB standard commands are defined in Table 40.
Table 40. Firmware Responsibilities for USB SETUP Commands
USB Command
GET_STATUS
Firmware Responsibility
For device status, firmware should write two data bytes to transmit FIFO 0, where bit
0 of byte 0 indicates if the device is self-powered, and bit 1 indicates if the remote
wake-up feature is supported (which should equal the value stored in the RWUPE
register bit).
For interface status, firmware should write two data bytes of zeros.
For endpoint status, firmware should write two data bytes to transmit FIFO 0, where
bit 0 of byte 0 is the RXSTL or TXSTL bit of the endpoint indicated by the SETUP
command.
For the DEVICE_REMOTE_WAKEUP feature, firmware should set/reset the RWUPE
register bit.
SET/CLEAR_FEATURE
For the ENDPOINT_STALL feature, firmware should set/clear the RXSTL or TXSTL
register bit indicated by the SETUP command. Firmware must also handle all side
effects of these commands as documented in the USB specification, such as zeroing
an endpoint’s data toggle bit on CLEAR_FEATURE[stall].
SET_ADDRESS
Firmware should write the FADDR register with the device address indicated by the
SETUP command. This write must not occur until after the status stage of the control
transfer has completed successfully.
GET_CONFIGURATION, Firmware must maintain all information regarding which endpoints, interfaces, alter-
SET_CONFIGURATION, nate settings, and configurations are supported and/or currently enabled. The
enabled status of a particular endpoint direction, as specified by the current configu-
GET_INTERFACE,
ration, interface, and alternate setting, must be indicated in the corresponding
SET_INTERFACE
RXEPEN or TXEPEN register bit. Firmware must also handle any side effects of
these commands as documented in the USB specification, such as zeroing an
endpoint’s stall and data toggle bits on SET_INTERFACE or
SET_CONFIGURATION.
GET_DESCRIPTOR,
Firmware must maintain all information regarding all types of descriptors and write the
SET_DESCRIPTOR
appropriate descriptor information to transmit FIFO 0 upon receiving
GET_DESCRIPTOR, or read the appropriate descriptor information from receive
FIFO 0 upon receiving SET_DESCRIPTOR.
Agere Systems Inc.
41