English
Language : 

SH7280 Datasheet, PDF (1391/1726 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine family
Section 25 USB Function Module
25.6 Processing of USB Standard Commands and Class/Vendor
Commands
25.6.1 Processing of Commands Transmitted by Control Transfer
A command transmitted from the host by control transfer may require decoding and execution of
command processing on the application side. Whether command decoding is required on the
application side is indicated in table 25.4 below.
Table 25.4 Command Decoding on Application Side
Decoding not Necessary on Application Side
Clear feature
Get configuration
Get interface
Get status
Set address
Set configuration
Set feature
Set interface
Decoding Necessary on Application Side
Get Descriptor
Synch Frame
Set Descriptor
Class/Vendor command
If decoding is not necessary on the application side, command decoding and data stage and status
stage processing are performed automatically. No processing is necessary by the user. An interrupt
is not generated in this case.
If decoding is necessary on the application side, the USB function module stores the command in
the EP0s FIFO. After normal reception is completed, the USBIER0/SETUP TS flag is set and an
interrupt request is generated. In the interrupt routine, 8 bytes of data must be read from the EP0s
data register (USBEPDR0S) and decoded by firmware. The necessary data stage and status stage
processing should then be carried out according to the result of the decoding operation.
Rev. 1.00 Jun. 26, 2008 Page 1361 of 1692
REJ09B0393-0100