Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0290 Datasheet(PDF) 14 Page - STMicroelectronics

Part # UM0290
Description  This document presents a description
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0290 Datasheet(HTML) 14 Page - STMicroelectronics

Back Button UM0290 Datasheet HTML 10Page - STMicroelectronics UM0290 Datasheet HTML 11Page - STMicroelectronics UM0290 Datasheet HTML 12Page - STMicroelectronics UM0290 Datasheet HTML 13Page - STMicroelectronics UM0290 Datasheet HTML 14Page - STMicroelectronics UM0290 Datasheet HTML 15Page - STMicroelectronics UM0290 Datasheet HTML 16Page - STMicroelectronics UM0290 Datasheet HTML 17Page - STMicroelectronics UM0290 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 76 page
background image
STR7/STR9 USB firmware library
UM0290
14/76
1.2.3
usb_int (.c , .h)
The usb_int module handles the correct transfer interrupt service routines; it offers the link
between the USB protocol events and the library core.
The STR7 USB IP provides two correct transfer routines:
●
Low priority interrupt: managed by the function CTR_LP() and used for the control,
interrupt and bulk (in simple buffer mode).
●
High priority interrupt: managed by the function CTR_HP() and used for faster transfer
mode like Isochronous and bulk (in double buffer mode).
1.2.4
usb_core (.c , .h)
The usb_core module is the kernel of the library. It implements all the functions described in
chapter 9 of the USB 2.0 specification.
The available subroutines cover handling of USB standard requests related to the control
endpoint (EP0), offering the necessary code to accomplish the sequence of enumeration
phase.
A state machine is implemented in order to process the different stages of the setup
transactions.
The USB core module implements also a dynamic interface between the standard request
and the user implementation using the structure User_Standard_Requests.
The USB core dispatches the class specific requests and some bus events to user program
whenever it is necessary. User handling procedures are given in the Device_Property
structure.
The different data and functions structures used by the kernel are described in the following
paragraphs.
1.
Device table structure: The core keeps device level information in the structure
Device_Table. Device_Table with the type: DEVICE.
typedef struct _DEVICE {
u8 Total_Endpoint;
u8 Total_Configuration;
} DEVICE;
2.
Device information structure: The USB core keeps the setup packet from the host for
the implemented USB device in the Device_Info structure. This structure has the type:
DEVICE_INFO.
typedef struct _DEVICE_INFO {
u8 USBbmRequestType;
u8 USBbRequest;
u16_u8 USBwValues;
u16_u8 USBwIndexs;
u16_u8 USBwLengths;
u8 ControlState;
u8 Current_Feature;



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


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