Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0463 Datasheet(PDF) 8 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) 8 Page - STMicroelectronics

Back Button 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 UM0463 Datasheet HTML 10Page - STMicroelectronics UM0463 Datasheet HTML 11Page - STMicroelectronics UM0463 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 30 page
background image
Programming model of the library
UM0463
8/30
2.2
Transactions on noncontrol endpoints
The user application uses noncontrol endpoints by calling a set of functions to send or
receive data. The user application calls a function to pass the data buffer that contains the
data or will receive the data from the library and calls another function to inquire if the
transaction is finished. This inquiry checks an internal flag that represents the status of the
transceiver.
The interrupt model and the polling model are implemented for the noncontrol endpoints too.
The flag of the transceiver status is set in the interrupt routine as soon as the transaction is
done in the interrupt model, but the flag is set in the USB polling routine if the polling model
is selected. Obviously, the interrupt model improves overall system performance.
2.3
Special note on MCU interrupt
The USB events are very special versus other events in the MCU application. Interrupt of
the USB events has to be answered as soon as possible, otherwise, the performance of the
USB system would be decreased and some USB events may be lost.
The library configures the MCU to work on nested interrupt mode and set the USB interrupt
as the highest interrupt level, so that the USB interrupt will be served in the fastest way.
In the interrupt model, the USB interrupt is configured as interrupt level 3 and the USB state
machine will be running in interrupt level 2. All the other interrupt sources are configured as
interrupt level 1.
In the polling model, the USB interrupt is configured as interrupt level 3 and the USB state
machine will be running in interrupt level 1. All the other interrupt sources are configured as
interrupt level 1. The user code can change the non-USB interrupt to level 2.
The user application has to be aware of this special configuration when using the interrupt
peripheral of the MCU.



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