Download Print this page

Processing Of Usb Standard Commands And Class/Vendor Commands - Renesas H8S Family Hardware Manual

Advertisement

Section 22 USB Function Module (USB)
22.6
Processing of USB Standard Commands and Class/Vendor
Commands
22.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 22.7 below.
Table 22.7 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
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, this module stores the command in the EP0s
FIFO. After reception is completed successfully, the IFR0/SETUP TS flag is set and an interrupt
request is generated. In the interrupt routine, eight bytes of data must be read from the EP0s data
register (EPDR0s) 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 Mar. 12, 2008 Page 882 of 1178
REJ09B0403-0100
Decoding Necessary on Application Side
Get Descriptor
Class/Vendor command
Set Descriptor
Sync Frame

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472