| Electronic Components Datasheet Search |
|
CP2102 Datasheet(PDF) 4 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
CP2102 Datasheet(HTML) 4 Page - Silicon Laboratories |
|
4 / 36 page ![]() AN169 4 Rev. 2.3 3.1. SI_GetNumDevices Description: This function returns the number of devices connected to the host. 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_GetNumDevices (LPDWORD NumDevices) Parameters: 1. NumDevices—Address of a DWORD variable that will contain the number of devices connected on return. Return Value: SI_STATUS = SI_SUCCESS or SI_DEVICE_NOT_FOUND or SI_INVALID_PARAMETER 3.2. SI_GetProductString Description: This function returns a null terminated serial number (S/N) string or product description string for the device specified by an index passed in DeviceNum. The index for the first device is 0 and the last device is the value returned by SI_GetNumDevices – 1. 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_GetProductString (DWORD DeviceNum, LPVOID DeviceString, DWORD Options) Parameters: 1. DeviceNum—Index of the device for which the product description string or serial number string is desired. 2. DeviceString—Variable of type SI_DEVICE_STRING which will contain a NULL terminated device descriptor or serial number string on return. 3. Options—DWORD containing flags to determine if DeviceString contains a serial number, product description, Vendor ID, or Product ID string. See "Appendix D—Definitions from C++ header file SiUSBXp.h” for flags. Return Value: SI_STATUS = SI_SUCCESS or SI_DEVICE_NOT_FOUND or SI_INVALID_PARAMETER |
|
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 |
| 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 |