Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0463 Datasheet(PDF) 2 Page - STMicroelectronics

Part # UM0463
Description  ST7 full-speed USB library
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0463 Datasheet(HTML) 2 Page - STMicroelectronics

  UM0463 Datasheet HTML 1Page - STMicroelectronics UM0463 Datasheet HTML 2Page - STMicroelectronics UM0463 Datasheet HTML 3Page - STMicroelectronics UM0463 Datasheet HTML 4Page - STMicroelectronics UM0463 Datasheet HTML 5Page - STMicroelectronics UM0463 Datasheet HTML 6Page - STMicroelectronics UM0463 Datasheet HTML 7Page - STMicroelectronics UM0463 Datasheet HTML 8Page - STMicroelectronics UM0463 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 30 page
background image
Contents
UM0463
2/30
Contents
1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1
Functionality of the library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2
Background of ST7 full-speed USB device . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.1
USB device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2
Programming model of the library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1
Handling control endpoint 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2
Transactions on noncontrol endpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3
Special note on MCU interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3
The USB state machine of the control endpoint . . . . . . . . . . . . . . . . . . 9
3.1
The states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2
Data structure for the SETUP packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3
Standard requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.4
Nonstandard requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.4.1
SETUP stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.4.2
Data stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Data IN stage with continued data buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Data IN stage with noncontinued data buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Data OUT stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
3.4.3
Status stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5
Processing of standard requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.1
Get status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Recipient of the device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Recipient of the interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Recipient of the endpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
3.5.2
Clear feature and set feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.5.3
Recipient of device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Recipient of interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Recipient of endpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
3.5.4
Set address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.5.5
Get descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Constant descriptors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Nonconstant descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Standard request with constant descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17



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


Datasheet Download

Go To PDF Page


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


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