| 数据搜索系统,热门电子元器件搜索 |
|
CP2103 数据表(PDF) 21 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
CP2103 数据表(HTML) 21 Page - Silicon Laboratories |
|
21 / 30 page ![]() AN144 Rev. 2.0 21 5.21. CP210x_GetDeviceInterfaceString Description: Gets the specified interface string from a CP210x device. If the ConvertToASCII parameter is set, the string will be converted to ASCII format before being returned to the caller. The character size limit (in characters, not bytes), NOT including a NULL terminator, is CP210x_MAX_SERIAL_STRLEN. Supported Devices: CP2105 Location: CP210x Manufacturing DLL Prototype: CP210x_STATUS CP210x_GetDeviceInterfaceString( HANDLE Handle, BYTE InterfaceNumber, LPVOID Interface, BYTE Length, BOOL ConvertTo- ASCII) Parameters: 1. Handle—Handle to the device to close as returned by CP210x_Open(). 2. InterfaceNumber —Set to 0 for Enhanced Interface. Set to 1 for Standard Interface. 3. Interface—Pointer to buffer returning the selected Interface String value. 4. Length—Pointer to a BYTE value returning the length of the string in characters (not bytes), NOT including a NULL terminator. 5. ConvertToASCII—Boolean flag that tells the function whether the string needs to be converted to ASCII before it is returned to the caller. The flag is set to TRUE by default (i.e., the caller is expecting the string in ASCII format). Return Value: CP210x_STATUS = CP210x_SUCCESS, CP210x_INVALID_PARAMETER, CP210x_INVALID_HANDLE, CP210x_DEVICE_IO_FAILED |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |