| 数据搜索系统,热门电子元器件搜索 |
|
UM0463 数据表(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0463 数据表(HTML) 5 Page - STMicroelectronics |
|
5 / 30 page ![]() UM0463 Overview 5/30 1 Overview 1.1 Functionality of the library As a generic USB library, it provides the following functionalities: ● Initialize the USB hardware cell ● Answer all standard USB requests defined in Chapter 9 of USB specification [1] ● Enumerate the USB device to the host with less user code intervention ● Means for plug-in user code to handle nonstandard USB requests ● Functions for sending and/or receiving data on all the endpoints ● Optional DFU functionality without any user code intervention 1.2 Background of ST7 full-speed USB device 1.2.1 USB device The ST7 full-speed USB device implements several USB endpoints. The number of endpoints varies among products. Table 1 lists the endpoint configuration of each product: The figures in the above table represent the maximum packet size allowed for a particular endpoint. An endpoint is identified with its address and its direction. The endpoint in address 0 is the control endpoint and is always bidirectional. In the table, IN identifies that the direction of the endpoint is from the device to the host and OUT identifies that the direction of the endpoint is from the host to the device. The data exchange on endpoints is done through endpoint DMA buffers. The endpoint DMA buffers are located in the fixed location of RAM area and their locations vary among products. There is a pair of registers corresponding to each endpoint. They are the endpoint status register and the DMA counter register. The endpoint status register identifies four status of the endpoint: Table 1. Endpoint configuration Endpoint 0 1 IN 1 OUT 2 IN 2 OUT 3 IN 4 IN 5 IN ST7265 16 16 16 64 64 N/A N/A N/A ST7SCR 88 N/A 64 64 888 Table 2. Endpoint status Status Meaning DISABLE The endpoint does not answer any bus traffic. STALL The endpoint stalls any IN token for IN direction or OUT token for OUT direction. |
|
|
链接网址 |
| 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 |