| 数据搜索系统,热门电子元器件搜索 |
|
H8SX/1663 数据表(PDF) 852 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8SX/1663 数据表(HTML) 852 Page - Renesas Technology Corp |
|
852 / 1158 page ![]() Section 16 USB Function Module (USB) Rev.1.00 Jun. 07, 2006 Page 800 of 1102 REJ09B0294-0100 (5) Status Stage (Control-Out) USB function Application IN token reception 0-byte transmission to host End of control transfer Set EP0i transmission complete flag (IFR0.EP0i TS = 1) Clear EP0i transfer request flag (IFR0.EP0i TR = 0) Write 1 to EP0i packet enable bit (TRG.EP0i PKTE = 1) Clear EP0i transmission complete flag (IFR0.EP0i TS = 0) End of control transfer Valid data in EP0i FIFO? ACK Yes No NACK Interrupt request Interrupt request Figure 16.14 Status Stage (Control-Out) Operation The control-out status stage starts with an IN token from the host. When an IN-token is received at the start of the status stage, there is not yet any data in the EP0i FIFO, and so an EP0i transfer request interrupt is generated. The application recognizes from this interrupt that the status stage has started. Next, in order to transmit 0-byte data to the host, 1 is written to the EP0i packet enable bit but no data is written to the EP0i FIFO. As a result, the next IN token causes 0-byte data to be transmitted to the host, and control transfer ends. After the application has finished all processing relating to the data stage, 1 should be written to the EP0i packet enable bit. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |