전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

UM0290 데이터시트(PDF) 46 Page - STMicroelectronics

부품명 UM0290
상세설명  This document presents a description
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0290 데이터시트(HTML) 46 Page - STMicroelectronics

Back Button UM0290 Datasheet HTML 42Page - STMicroelectronics UM0290 Datasheet HTML 43Page - STMicroelectronics UM0290 Datasheet HTML 44Page - STMicroelectronics UM0290 Datasheet HTML 45Page - STMicroelectronics UM0290 Datasheet HTML 46Page - STMicroelectronics UM0290 Datasheet HTML 47Page - STMicroelectronics UM0290 Datasheet HTML 48Page - STMicroelectronics UM0290 Datasheet HTML 49Page - STMicroelectronics UM0290 Datasheet HTML 50Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 76 page
background image
Mass storage demo
UM0290
46/76
For more information about the double buffer transfer mode please refer to the STR71x
reference manual.
5.3.3
Class specific requests
The Mass Storage Class specification describes two class specific requests:
Bulk-only Mass Storage reset
This request is used to reset the Mass Storage device and its associated interface. This
class specific request is to make the device ready for the next CBW sent by the PC host.
To issue the BOT Mass Storage Reset, the host issues a device request on the default pipe
(endpoint 0) of:
●
bmRequestType: Class, Interface, Host to device
●
bRequest field set to 0xFF
●
wValue field set to 0
●
wIndex field set to the interface number (0 for this implementation)
●
wLength field set to 0
This request is implemented as a no data class-specific request in the function
MASS_NoData_Setup()
(file usb_prop.c).
After receiving this request, the device clears the data toggle of the two bulk endpoints,
initializes the CBW signature to the default value and sets the BOT state machine to the
state BOT_IDLE to be ready to receive the next CBW.
GET MAX LUN request
A Mass Storage Device may implement several logical units that share common device
characteristics. The host uses bCBWLUN to designate which logical unit of the device is the
destination of the CBW.
The Get Max LUN device request is used to determine the number of logical units supported
by the device.
To issue a Get Max LUN request the host must issue a device request on the default pipe
(endpoint 0) of:
●
bmRequestType: Class, Interface, Host to device
●
bRequest field set to 0xFE
●
wValue field set to 0
●
wIndex field set to the interface number (0 for this implementation)
●
wLength field set to 1
This request is implemented as a Data class specific request in the function
MASS_Data_Setup()
(file usb_prop.c).
Note:
In the two implementations, there is only one LUN so the Get Max LUN is returned directly
with the Value 0x00. If the user wants to implement other LUNs he has to return the number
of implemented LUNs as response to this request.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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