Electronic Components Datasheet Search
  English  ▼

X  

CP2114 Datasheet(PDF) 11 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) 11 Page - Silicon Laboratories

Back Button CP2114 Datasheet HTML 7Page - Silicon Laboratories CP2114 Datasheet HTML 8Page - Silicon Laboratories 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 54 page
background image
AN433
Rev. 0.5
11
2.13. HidUart_Read
Description:
Reads the available number of bytes into the supplied buffer and returns the number of bytes read
which can be less than the number of bytes requested. This function returns synchronously after
reading the requested number of bytes or after the timeout duration has elapsed. Read and write
timeouts can be set using HidUart_SetTimeouts() described in "2.17. HidUart_SetTimeouts" on
page 13.
Prototype:
HID_UART_STATUS HidUart_Read (HID_UART_DEVICE device, BYTE* buffer,
DWORD numBytesToRead, DWORD* numBytesRead)
Parameters:1.
device—Device object pointer as returned by HidUart_Open().
2.
buffer—Address of a buffer to be filled with read data.
3.
numBytesToRead—Number of bytes to read from the device into the buffer (1–32768). This
value must be less than or equal to the size of buffer.
4.
numBytesRead—Returns the number of bytes actually read into the buffer on completion.
Return Value: HID_UART_STATUS
=
HID_UART_SUCCESS
HID_UART_READ_ERROR
HID_UART_INVALID_PARAMETER
HID_UART_INVALID_DEVICE_OBJECT
HID_UART_READ_TIMED_OUT
HID_UART_INVALID_REQUEST_LENGTH
Remarks:
HidUart_Read() returns HID_UART_READ_TIMED_OUT if the number of bytes read is less than
the number of bytes requested. This will only occur after the read timeout has elapsed. If the
number of bytes read matches the number of bytes requested, this function will return
HID_UART_SUCCESS.



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