Electronic Components Datasheet Search
  English  ▼

X  

UM0290 Datasheet(PDF) 18 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) 18 Page - STMicroelectronics

Back Button 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 UM0290 Datasheet HTML 19Page - STMicroelectronics UM0290 Datasheet HTML 20Page - STMicroelectronics UM0290 Datasheet HTML 21Page - STMicroelectronics UM0290 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 76 page
background image
STR7/STR9 USB firmware library
UM0290
18/76
Table 3.
Application interface modules
1.3.1
usb_istr(.c)
USB_istr module provides a function named USB_Istr() which handles all USB
macrocell interrupts.
For each USB interrupt source a callback routine named XXX_Callback (for example,
RESET_Callback
) is provided in order to implement a user interrupt handler. To enable the
processing of each callback routines, a preprocessor switch named XXX_Callback must
be defined in the USB configuration file USB_conf.h.
1.3.2
usb_conf(.h)
The usb_conf.h is used to:
●
Select the microcontroller: the user has to select the microcontroller. For the STR91x
the user has also to select the access mode to the USB IP (buffered or non-buffered) by
uncommenting the dedicated line:
//#define STR7xx
//#define STR71x
//#definr STR75x
//#define STR91x
//#define STR91x_USB_BUFFERED
//#define STR91x_USB_NON_BUFFERED
●
Define the BTABLE and all endpoint addresses in the PMA.
●
Define the interrupt mask according to the needed events.
1.3.3
usb_endp (.c)
USB_endp module is used for handling the CTR “correct transfer” routines for endpoints
different from endpoint 0 (EP0).
For enabling the processing of these call-back handlers a pre-processor switch named
EPx_IN_Callback (for IN transfer) or EPx_OUT_Callback (for OUT transfer) must be defined
in the USB_conf.h file.
1.3.4
usb_prop (.c , .h)
The USB_prop module is used for implementing the Device_Property, Device_Table and
USER_STANDARD_REQUEST structures used by the USB core.
File
Description
usb_istr (.c,.h)
USB interrupt handler functions
usb_conf.h
USB configuration file
usb_prop (.c, .h)
USB application specific properties
usb_endp.c
CTR interrupt handlers routines for non control endpoints
usb_pwr (.h, .c)
USB power management module
usb_desc (.c, .h)
USB descriptors



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