Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1325 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN1325
Description  This application note describes
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1325 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN1325 Datasheet HTML 4Page - STMicroelectronics AN1325 Datasheet HTML 5Page - STMicroelectronics AN1325 Datasheet HTML 6Page - STMicroelectronics AN1325 Datasheet HTML 7Page - STMicroelectronics AN1325 Datasheet HTML 8Page - STMicroelectronics AN1325 Datasheet HTML 9Page - STMicroelectronics AN1325 Datasheet HTML 10Page - STMicroelectronics AN1325 Datasheet HTML 11Page - STMicroelectronics AN1325 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 15 page
background image
8/15
USING THE ST7 USB LOW-SPEED LIBRARY V4.2x
4.1 SHARED VARIABLES
Here is a description of the variables shared between the USB Library and the Application
code layer :.
Variable
Declaration/
Aliases
Description
USBLibStatus
USB_Var.c
USB_Def.h
Used to exchange USB status information between the Library
and the Application. Possible values are :
PRODUCT1 (0x01) : always defined
PRODUCT2 (0x02) : alternate product
DFU_MODE (0x40) : DFU code loader device
APP_REQUEST (0x08) : set by Library when a non standard re-
quest has been received on EP0
USB_STALL (0x10) : set by Application to stall a non standard
request
USB_SUSPEND (0x20) : set by Library when suspended mode
is requested
USB_REMOTE_WAKEUP_ENABLE (0x40) : set by Library
when host enables the remote wakeup
USB_CONFIGURED (0x80) : set by Library when host config-
ured the peripheral
USBTransferStatus
USB_Var.c
USB_Var.h
Specifies the current Control Transfer transaction stages. Pos-
sible values are :
NO_DATA_STAGE (0x01) : an IN status will follow the setup to-
ken
DATA_STAGE_IN (0x02) : Transfer with IN data phase
DATA_STAGE_OUT (0x04) : Transfer with OUT data phase
ONE_MORE (0x08) : Last data IN transfer before status out
ADDRESS2SET (0x10) : device address
SET_TX0_VALID (0x20) : request to set EP0 Tx buffer to valid
SET_RX0_VALID (0x40) : request to set EP0 Rx buffer to valid
USBbmRequestType
USB_Var.c
USB_Var.h
Contains the characteristic of the request sent by the host. Re-
fer to USB spec ver 1.1, chap 9.3, page 183 for more informa-
tions. Possible values are :
RECIPIENT (0x03)
REDEVICE (0x00)
REINTERFACE (0x01)
REENDPOINT (0x02)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


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