поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

UM0463 датащи(PDF) 27 Page - STMicroelectronics

номер детали UM0463
подробное описание детали  ST7 full-speed USB library
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0463 датащи(HTML) 27 Page - STMicroelectronics

Back Button UM0463 Datasheet HTML 22Page - STMicroelectronics UM0463 Datasheet HTML 23Page - STMicroelectronics UM0463 Datasheet HTML 24Page - STMicroelectronics UM0463 Datasheet HTML 25Page - STMicroelectronics UM0463 Datasheet HTML 26Page - STMicroelectronics UM0463 Datasheet HTML 27Page - STMicroelectronics UM0463 Datasheet HTML 28Page - STMicroelectronics UM0463 Datasheet HTML 29Page - STMicroelectronics UM0463 Datasheet HTML 30Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 27 / 30 page
background image
UM0463
The library package and its configuration
27/30
7.3
Application interface to the library
The application code has to provide some values to the library to execute the state machine.
The library uses callback functions to perform the operation and all callback functions are
implemented by direct function calls which are defined in user_usb.h. These callback
functions are listed in Table 9.
Four variables are there for the application to pass some configuration values to the library:
●
USB_Num_Configuration: number of configuration
●
USB_Num_Interface: number of interface
●
USB_Interrupt_Mask: the value for the USB interrupt mask register
●
DescTabPtr: pointer to actual descriptor table
These variables must be set in (or prior to) the "USER_USB_Reset" function.
Table 9.
Call back functions
Function name
Description
USER_USB_Reset()
Called when a USB Reset is received by the device.
USER_USB_Setup()
All user-interpreted requests are parsed in this function.
USER_USB_CopydataIN()
Used to copy data to the endpoint DMA buffer EP0_IN for
each data packet of data IN stage.
USER_USB_CopydataOUT()
Used to copy data from the endpoint DMA buffer
EP0_OUT for each data packet of data OUT stage.
USER_USB_Status_In()
Called when a status IN stage is executed for all the
requests except Set Address.
USER_USB_Status_Out()
Called when a status OUT stage is executed for all the
requests.
USER_USB_Set_Configuration()
The user code has to configure the device as specified.
USER_USB_Set_Interface()
The user code has to set the alternative setting of an
interface as specified.
USER_USB_Get_Interface()
The user code has to return the alternative setting of an
interface as specified.
USER_USB_Clear_Feature_EP()
The user code is informed that the specified endpoint
STALL condition is cleared.
USER_USB_Set_Feature_EP()
The user code is informed that the specified endpoint is set
as STALL.
USER_USB_SOF()
Called every time a start of frame (SOF) token arrives on
USB given SOF interrupt is enabled.
USER_USB_Suspend()
Called when suspend request is received by the device
from the USB.
USER_USB_ESuspend()
Called when the device is in suspended state and activity
on USB bus is detected



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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