| Electronic Components Datasheet Search |
|
UM0290 Datasheet(PDF) 44 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0290 Datasheet(HTML) 44 Page - STMicroelectronics |
|
44 / 76 page ![]() Mass storage demo UM0290 44/76 Figure 11. Hardware and firmware interaction diagram The hardware configuration layer is represented by the two files HW_config.c and HW_config.h. For the Mass Storage demo, the hardware management layer manages the following hardware requirements: ● System and USB IP clock configuration ● Read and write LEDs configuration ● LEDs command ● Get the characteristics of the memory medium (the block size and the memory capacity) 5.3.2 Endpoint configurations and data management This section provides a description of the configuration and the data flow according to the transfer mode. Endpoint configurations The endpoint configurations should be done after each USB reset event, so this part of code is implemented in the function MASS_Reset (file usp_prop.c). The default endpoint (pipe 0) configuration is the same for the two transfer modes. To configure the endpoint 0 it is necessary to: ● Configure the Endpoint 0 as default control endpoint ● Configure the Endpoint 0 Rx and Tx count and buffer addresses (in the BTABLE) ● Configure the Endpoint Rx status to VALID and the Tx status to NAK. Hardware Config interface Hardware (STR + evaluation board) USB IP USB Library USB Application Standard Library |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |