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

X  

UM0851 Datasheet(PDF) 71 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 71 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 67Page - STMicroelectronics UM0851 Datasheet HTML 68Page - STMicroelectronics UM0851 Datasheet HTML 69Page - STMicroelectronics UM0851 Datasheet HTML 70Page - STMicroelectronics UM0851 Datasheet HTML 71Page - STMicroelectronics UM0851 Datasheet HTML 72Page - STMicroelectronics UM0851 Datasheet HTML 73Page - STMicroelectronics UM0851 Datasheet HTML 74Page - STMicroelectronics UM0851 Datasheet HTML 75Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 245 page
background image
UM0851
Communication device drivers
Doc ID 16604 Rev 2
71/245
Figure 16.
USBD software architecture
As shown in the figure above, the gadget drivers can access the USB Device driver either
directly through the gadget framework or through the composite layer. The composite layer
provides an interface where multi-functional devices (like audio and video) can be easily
supported. It is preferable that USB gadget drivers who do not have composite features also
interact through the composite layer.
Note:
Please note that only one gadget driver at a time can exist in this framework using gadget
framework. Also remember that composite layer is in itself a gadget drive. Therefore
according to the figure, the printer and the composite layer cannot exist at the same time.
One possibility is to build the printer gadget over the composite layer.
The remaining part of this document describes the composite layer interface. For detailed
documentation on the gadget framework please refer to:
http://www.linux-usb.org/gadget/
In the Linux source tree, the USBD controller driver is present in:
drivers/usb/gadget/spr_udc_syn.c
4.4.3
USBD driver interface with Linux gadget layer
As mentioned above, the USB Device controller driver supports Linux gadget framework.
For this, it exports certain device and endpoint specific routines and exports two functions
for registering and un-registering to the framework.
/* device specific operations exported by usbd driver */
static const struct usb_gadget_ops spear_udc_dev_ops = {
.get_frame = spear_dev_get_frame,
.wakeup = spear_dev_wakeup,
.set_selfpowered = spear_set_selfpowered,
Hardware
Kernel space
User space
ifconfig
mount
Ip
Ethernet (usb0)
File storage
Printer
Composite device
USB gadget framework
USBD driver
USBD device controller



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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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