HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 819

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Setup Stage:
Notes: 1. In the setup stage, the application analyzes command data from the host requiring processing by
(USBIFR0/SETUP TS = 1)
Receive 8-byte command
SETUP token reception
reception complete flag
2. When the transfer direction is control-out, the EP0i transfer request interrupt required in the status
Set setup command
to be processed by
the application, and determines the subsequent processing (for example, data stage direction, etc.).
stage should be enabled here. When the transfer direction is control-in, this interrupt is not required
and should be disabled.
To data stage
data in EP0s
application?
Command
Yes
USB function
Figure 20.5 Setup Stage Operation
No
processing by
Interrupt request
this module
Automatic
Clear EP0o FIFO (UFCLR/EP0oCLR = 1)
Clear EP0i FIFO (UFCLR/EP0iCLR = 1)
To control-in
Write 1 to EP0s read complete bit
data stage
Determine data stage direction*
Rev. 4.00 Sep. 14, 2005 Page 769 of 982
Read 8-byte data from EP0s
(USBTRG/EP0s RDFN = 1)
(USBIFR0/SETUP TS = 0)
Decode command data
Clear SETUP TS flag
Section 20 USB Function Module
Application
*
2
To control-out
data stage
REJ09B0023-0400
1

Related parts for HD6417641