Electronic Components Datasheet Search
  English  ▼

X  

CP2103 Datasheet(PDF) 8 Page - Silicon Laboratories

Part # CP2103
Description  PROGRAMMERS GUIDE
PDF  36 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SILABS [Silicon Laboratories]
Direct Link  http://www.silabs.com
Logo SILABS - Silicon Laboratories

CP2103 Datasheet(HTML) 8 Page - Silicon Laboratories

Back Button CP2103 Datasheet HTML 4Page - Silicon Laboratories CP2103 Datasheet HTML 5Page - Silicon Laboratories CP2103 Datasheet HTML 6Page - Silicon Laboratories CP2103 Datasheet HTML 7Page - Silicon Laboratories CP2103 Datasheet HTML 8Page - Silicon Laboratories CP2103 Datasheet HTML 9Page - Silicon Laboratories CP2103 Datasheet HTML 10Page - Silicon Laboratories CP2103 Datasheet HTML 11Page - Silicon Laboratories CP2103 Datasheet HTML 12Page - Silicon Laboratories Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 36 page
background image
AN169
8
Rev. 2.3
3.8. SI_FlushBuffers
Description:
On USB MCU devices, this function flushes both the receive buffer in the USBXpress device
driver and the transmit buffer in the device. Note: Parameter 2 and 3 have no effect and any
value can be passed when used with USB MCU devices.
On CP210x devices, this function operates in accordance with parameters 2 and 3. If parameter
2 (FlushTransmit) is non-zero, the CP210x device’s UART transmit buffer is flushed. If parameter
3 (FlushReceive) is non-zero, the CP210x device’s UART receive buffer is flushed. If parameters
2 and 3 are both non-zero, then both the CP210x device UART transmit buffer and UART
receive buffer are flushed.
Supported Devices:
C8051F320/1/6/7, C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D,
C8051F380/1/2/3/4/5/6/7, C8051T320/1/2/3/6/7, C8051T620/1/2/3, CP2101/2/3/4/5/8/9
Prototype:
SI_STATUS SI_FlushBuffers (HANDLE Handle, BYTE FlushTransmit,
BYTE FlushReceive)
Parameters:
1. Handle—Handle to the device as returned by SI_Open.
2. FlushTransmit—Set to a non-zero value to flush the CP210x UART transmit buffer.
3. FlushReceive—Set to a non-zero value to flush the receive buffer.
Return Value:
SI_STATUS
= SI_SUCCESS or
SI_INVALID_HANDLE or
SI_SYSTEM_ERROR_CODE
3.9.
SI_SetTimeouts
Description:
Sets the read and write timeouts. Timeouts are used for SI_Read and SI_Write when called syn-
chronously (OVERLAPPED* o is set to NULL). The default value for timeouts is INFINITE
(0xFFFFFFFF), but they can be set to wait for any number of milliseconds between 0x0 and
0xFFFFFFFE.
Supported Devices:
C8051F320/1/6/7, C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D,
C8051F380/1/2/3/4/5/6/7, C8051T320/1/2/3/6/7, C8051T620/1/2/3, CP2101/2/3/4/5/8/9
Prototype:
SI_STATUS SI_SetTimeouts (DWORD ReadTimeout, DWORD WriteTimeout)
Parameters:
1. ReadTimeout—SI_Read operation timeout (in milliseconds).
2. WriteTimeout—SI_Write operation timeout (in milliseconds).
Return Value:
SI_STATUS
= SI_SUCCESS or
SI_DEVICE_IO_FAILED



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


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