| Electronic Components Datasheet Search |
|
SH7216 Datasheet(PDF) 18 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7216 Datasheet(HTML) 18 Page - Renesas Technology Corp |
|
18 / 32 page ![]() SH7216 Group USB Function Module: USB Mass Storage Class REJ06B0897-0100/Rev.1.00 July 2009 Page 18 of 32 • DoRequestBOT_StorageClass.c This function carries out processing according to the USB Mass Storage Class (Bulk-Only Transport) commands (Bulk-Only Mass Storage Reset and Get Max LUN). The Bulk-Only Mass Storage Reset command resets all of the interfaces used in Bulk-Only Transport. The Get Max LUN command returns the largest logical unit number used by peripheral devices. In this sample program, there is one logical unit, so a value of 0 is returned to the host. Table 12 DoRequestBOT_StorageClass.c File in which Stored Function Name Purpose DoRequestBOT_ StorageClass.c DecBOTClassCommands Processes USB Mass Storage Class (Bulk-Only Transport) commands • DoControl.c When control transfer interrupt SETUP TS is generated, ActControl obtains the command, and decoding is carried out by DecStandardCommands to determine the transfer direction. Next, when control transfer interrupt EP0o TS, EP0i TR, or EP0i TS is generated, ActControlInOut calls either ActControlIn or ActControlOut depending on the transfer direction, and the data stage and status stage are carried out by the called function. Table 13 DoControl.c File in which Stored Function Name Purpose ActControl Controls the setup stage of control transfer ActControlIn Controls the data stage and status stage of control IN transport (transport in which the data stage is in the IN direction) ActControlOut Controls the data stage and status stage of control OUT transport (transport in which the data stage is in the OUT direction) DoControl.c ActControlInOut Sorts the data stage and status stage of control transfers and direct them to ActControlIn and ActControlOut. • DoBulk.c These functions carry out processing involving bulk transport. ActBulkInReady is not used in USB Mass Storage Class (Bulk-Only Transport). Table 14 DoBulk.c File in which Stored Function Name Purpose ActBulkOut Performs bulk-out transfer ActBulkIn Performs bulk-in transfer DoBulk.c ActBulkInReady Performs preparations for bulk-in transfer |
|
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 |