Electronic Components Datasheet Search
  English  ▼

X  

CP2114 Datasheet(PDF) 13 Page - Silicon Laboratories

Part # CP2114
Description  HID-TO-UART API SPECIFICATION
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SILABS [Silicon Laboratories]
Direct Link  http://www.silabs.com
Logo SILABS - Silicon Laboratories

CP2114 Datasheet(HTML) 13 Page - Silicon Laboratories

Back Button CP2114 Datasheet HTML 9Page - Silicon Laboratories CP2114 Datasheet HTML 10Page - Silicon Laboratories CP2114 Datasheet HTML 11Page - Silicon Laboratories CP2114 Datasheet HTML 12Page - Silicon Laboratories CP2114 Datasheet HTML 13Page - Silicon Laboratories CP2114 Datasheet HTML 14Page - Silicon Laboratories CP2114 Datasheet HTML 15Page - Silicon Laboratories CP2114 Datasheet HTML 16Page - Silicon Laboratories CP2114 Datasheet HTML 17Page - Silicon Laboratories Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 54 page
background image
AN433
Rev. 0.5
13
2.15. HidUart_FlushBuffers
Description:
This function flushes the receive buffer in the device and the HID driver and/or the transmit buffer
in the device.
Prototype:
HID_UART_STATUS
HidUart_FlushBuffers
(HID_UART_DEVICE
device,
BOOL
flushTransmit, BOOL flushReceive)
Parameters:1.
device—Device object pointer as returned by HidUart_Open().
2.
flushTransmit —Set to TRUE to flush the device transmit buffer.
3.
flushReceive —Set to TRUE to flush the device receive buffer and HID receive buffer.
Return Value: HID_UART_STATUS
=
HID_UART_SUCCESS
HID_UART_INVALID_DEVICE_OBJECT
HID_UART_DEVICE_IO_FAILED
2.16. HidUart_Cancello
Description:
This function cancels any pending HID reads and writes. (Windows only)
Prototype:
HID_UART_STATUS HidUart_CancelIo (HID_UART_DEVICE device)
Parameters:
device—Device object pointer as returned by HidUart_Open().
Return Value: HID_UART_STATUS
=
HID_UART_SUCCESS
HID_UART_INVALID_DEVICE_OBJECT
HID_UART_DEVICE_IO_FAILED
2.17. HidUart_SetTimeouts
Description:
Sets the read and write timeouts. Timeouts are used for HidUart_Read() and HidUart_Write(). The
default value for timeouts is 1000 ms, but timeouts can be set to wait for any number of
milliseconds between 0 and 0xFFFFFFFF.
Prototype:
HID_UART_STATUS
HidUart_SetTimeouts
(HID_UART_DEVICE
device,
DWORD
readTimeout, DWORD writeTimeout)
Parameters:1.
device—Device object pointer as returned by HidUart_Open().
2.
readTimeout—HidUart_Read() operation timeout in milliseconds.
3.
writeTimeout—HidUart_Write() operation timeout in milliseconds.
Return Value: HID_UART_STATUS
=
HID_UART_SUCCESS
HID_UART_INVALID_DEVICE_OBJECT
Remarks:
If read timeouts are set to a large value and no data is received, then the application may appear
unresponsive. It is recommended to set timeouts appropriately before using the device.



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


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