Section 20 USB Function Module
Rev. 4.00 Sep. 14, 2005 Page 772 of 982
REJ09B0023-0400
Status Stage (Control-IN): The control-IN status stage starts with an OUT token from the host.
The application receives 0-byte data from the host, and ends control transfer.
USB function
Application
OUT token reception
0-byte reception from host
End of control transfer
Set EP0o reception
complete flag
(USBIFR0/EP0o TS = 1)
Clear EP0o reception
complete flag
(USBIFR0/EP0o TS = 0)
Write 1 to EP0o read
complete bit
(USBTRG/EP0o RDFN = 1)
End of control transfer
ACK
Interrupt request
Figure 20.8 Status Stage (Control-IN) Operation