Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN1325 Datasheet(PDF) 10 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) 10 Page - STMicroelectronics

Back Button 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 AN1325 Datasheet HTML 13Page - STMicroelectronics AN1325 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 15 page
background image
10/15
USING THE ST7 USB LOW-SPEED LIBRARY V4.2x
Test_EP_Ready
USB_Lib.c
Check if the EndPoint buffer (passed as argument) is
ready to be written or read. Return TRUE if the End-
Point is ready. For IN direction (ST7 to Host) “ready”
means the buffer has been sent and is available for
sending new data. For OUT direction (Host to ST7)
“ready” means the buffer contains new data to be
read.
Set_EP_Ready
USB_Lib.c
This function informs the Library that there is data in
the EPxInBuffer ready to be sent (IN direction) or that
the Application has read/consumed the data in the
EPxOutBuffer (OUT direction).
For IN direction (ST7 to Host) update the Transmit
byte counter and set EPTx to VALID. For OUT direc-
tion (Host to ST7) set the EPRx to VALID and ignore
the data length passed as argument.
Write_EP_Buffer
USB_Lib.c
Write the data (pointer passed as argument) into the
USB DMA RAM transmit buffer of the selected End-
Point.
Read_EP_Buffer
USB_Lib.c
Read data from the USB DMA RAM receive buffer
into the data (pointer passed as argument).
Do_USB_RemoteWU
USB_Rwu.c
Send a complete Remote WakeUp signaling se-
quence to the Host (reset USB_SUSPEND flag).
While sending the resume signaling, all interrupts are
disable for 10ms (due to K state that must be main-
tain). If you don’t want all interrupts to be masked for
10ms, when exiting suspend, use the
“Start_USB_RemoteWU” and
“Stop_USB_RemoteWU” functions instead (see be-
low).
Start_USB_RemoteWU
USB_Rwu.c
Start a Remote WakeUp signaling to the Host. Take
care that Application code must call the
“Stop_USB_RemoteWU” function after a 10ms de-
lay.
Stop_USB_RemoteWU
USB_Rwu.c
End the Remote WakeUp signaling initiated by the
“Start_USB_RemoteWU” function. Reset also the
USB_SUSPEND flag.
Function
File
Description



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