Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

CP2103 Datasheet(PDF) 3 Page - Silicon Laboratories

Part # CP2103
Description  PROGRAMMERS GUIDE
Download  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) 3 Page - Silicon Laboratories

  CP2103 Datasheet HTML 1Page - Silicon Laboratories CP2103 Datasheet HTML 2Page - Silicon Laboratories CP2103 Datasheet HTML 3Page - Silicon Laboratories 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 36 page
background image
AN169
Rev. 2.3
3
3.
Host API Functions
The host API is provided in the form of a Windows Dynamic Link Library (DLL). The host interface DLL
communicates with the USB device via the provided device driver and the operating system's USB stack. The
following is a list of the host API functions available:
SI_GetNumDevices()
- Returns the number of devices connected
SI_GetProductString()
- Returns a descriptor for a device
SI_Open()
- Opens a device and returns a handle
SI_Close()
- Cancels pending IO and closes a device
SI_Read()
- Reads a block of data from a device
SI_Write()
- Writes a block of data to a device
SI_CancelIo()
- Cancels outstanding overlapped IO
SI_FlushBuffers()
- Flushes the TX and RX buffers for a device
SI_SetTimeouts()
- Sets read and write block timeouts
SI_GetTimeouts ()
- Gets read and write block timeouts
SI_CheckRXQueue()
- Returns the number of bytes in a device's RX queue
SI_SetBaudRate()
- Sets the specified CP210x Baud Rate
SI_SetBaudDivisor()
- Sets the specified CP210x Baud Divisor Value
SI_SetLineControl()
- Sets the CP210x device Line Control
SI_SetFlowControl()
- Sets the CP210x device Flow Control
SI_GetModemStatus()
- Gets the CP210x device Modem Status
SI_SetBreak()
- Sets the Break State for CP210x device.
SI_ReadLatch()
- Gets the port latch value from a CP2103 device
SI_WriteLatch()
- Sets the port latch value to a CP2103 device
SI_GetPartNumber()
- Gets the CP210x device part number
SI_DeviceIOControl()
- Allows sending low-level commands to the device driver
SI_GetDLLVersion()
- Gets the version of the DLL currently in use
SI_GetDriverVersion()
- Gets the version of the USBXpress driver
In general, the user initiates communication with the target USB device(s) by making a call to SI_GetNumDevices.
This call will return the number of target devices. This number is then used as a range when calling
SI_GetProductString to build a list of device serial numbers or product description strings.
To access a device, it must first be opened by a call to SI_Open using an index determined from the call to
SI_GetNumDevices. The SI_Open function will return a handle to the device that is used in all subsequent
accesses. Data I/O is performed using the SI_Write and SI_Read functions. When I/O operations are complete, the
device is closed by a call to SI_Close.
Additional functions are provided to flush the transmit and receive buffers (SI_FlushBuffers), set receive and
transmit timeouts (SI_SetTimeouts), check the receive buffer's status (SI_CheckRXQueue), and miscellaneous
device control (SI_DeviceIOControl).
For CP210x devices, functions are available to set the baud rate (SI_SetBaudRate); set the baud divisor
(SI_SetBaudDivisior); adjust the line control settings such as word length, stop bits, and parity (SI_SetLineControl);
set hardware handshaking, software handshaking, and modem control signals (SI_SetFlowControl); and get modem
status (SI_GetModemStatus). Additional functions are available for CP2103/4/5/8 devices to get (SI_ReadLatch) and
set (SI_WriteLatch) the values of the additional GPIO pins available on the device. In order to differentiate between
CP210x devices, a function (SI_GetPartNumber) has been provided to return the part number.
Each of these functions are described in detail in the following sections. Type definitions and constants are defined
in "Appendix D—Definitions from C++ header file SiUSBXp.h”.


Similar Part No. - CP2103

ManufacturerPart #DatasheetDescription
logo
List of Unclassifed Man...
CP2103 ETC1-CP2103 Datasheet
399Kb / 18P
   SINGLE-CHIP USB TO UART BRIDGE
logo
Silicon Laboratories
CP2103 SILABS-CP2103 Datasheet
417Kb / 20P
   SINGLE-CHIP USB TO UART BRIDGE
CP2103 SILABS-CP2103 Datasheet
452Kb / 8P
   USB DRIVER CUSTOMIZATION
CP2103 SILABS-CP2103 Datasheet
322Kb / 30P
   DEVICE CUSTOMIZATION GUIDE
CP2103 SILABS-CP2103 Datasheet
745Kb / 45P
   DEVICE CUSTOMIZATION GUIDE
More results

Similar Description - CP2103

ManufacturerPart #DatasheetDescription
logo
Silicon Laboratories
AN452 SILABS-AN452 Datasheet
113Kb / 26P
   WIRELESS M-BUS STACK PROGRAMMERS GUIDE
AN282 SILABS-AN282 Datasheet
881Kb / 22P
   USB MASS STORAGE DEVICE REFERENCE DESIGN PROGRAMMERS GUIDE
AN241 SILABS-AN241 Datasheet
261Kb / 30P
   2.4 GHZ ZIGBEE?줟ETWORK APPLICATION INTERFACE PROGRAMMERS GUIDE
logo
List of Unclassifed Man...
SA015A1T ETC2-SA015A1T Datasheet
138Kb / 3P
   Universal Programmers
logo
STMicroelectronics
ST6-EPB STMICROELECTRONICS-ST6-EPB Datasheet
48Kb / 3P
   ST6 EPROM programmers
October 2010 Rev 1
logo
Linear Technology
LTC1699 LINER-LTC1699 Datasheet
254Kb / 20P
   SMBus VID Voltage Programmers
logo
Aries Electronics, Inc.
LP300 ARIES-LP300 Datasheet
121Kb / 1P
   Programmers and Shorting Plugs
logo
Linear Technology
LTC1699 LINER-LTC1699_15 Datasheet
260Kb / 20P
   SMBus VID Voltage Programmers
logo
Aries Electronics, Inc.
16003 ARIES-16003 Datasheet
192Kb / 1P
   Programmers and Shorting Plugs
logo
STMicroelectronics
ST62EXX-GP STMICROELECTRONICS-ST62EXX-GP Datasheet
98Kb / 2P
   GANG PROGRAMMERS FOR ST62 MCU FAMILY
More results


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




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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