| Electronic Components Datasheet Search |
|
CP2103 Datasheet(PDF) 7 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
CP2103 Datasheet(HTML) 7 Page - Silicon Laboratories |
|
7 / 36 page ![]() AN169 Rev. 2.3 7 3.6. SI_Write Description: Writes the specified number of bytes from the supplied buffer to the device. This function returns synchronously if the overlapped object is set to NULL (this happens by default) but will not block system execution. An initialized OVERLAPPED object may be specified and waited on just as described in the description for SI_Read(), Section "3.5. SI_Read" on page 6. 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_Write (HANDLE Handle, LPVOID Buffer, DWORD NumBytesToWrite, DWORD *NumBytesWritten, OVERLAPPED* o = NULL) Parameters: 1. Handle—Handle to the device to write as returned by SI_Open. 2. Buffer—Address of a character buffer of data to be sent to the device. 3. NumBytesToWrite—Number of bytes to write to the device (0–4096 bytes). 4. NumBytesWritten—Address of a DWORD which will contain the number of bytes actually written to the device. 5. (Optional)—Address of an initialized OVERLAPPED object that can be used for asynchronous writes. Return Value: SI_STATUS = SI_SUCCESS or SI_WRITE_ERROR or SI_INVALID_REQUEST_LENGTH or SI_INVALID_PARAMETER or SI_INVALID_HANDLE or SI_WRITE_TIMED_OUT or SI_IO_PENDING or SI_SYSTEM_ERROR_CODE or SI_DEVICE_IO_FAILED 3.7. SI_CancelIo Description: Cancels any pending IO on a device opened with an OVERLAPPED object. 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_CancelIo (HANDLE Handle) Parameters: 1. Handle—Handle to the device to write as returned by SI_Open. Return Value: SI_STATUS = SI_SUCCESS or SI_INVALID_HANDLE or SI_SYSTEM_ERROR_CODE or SI_GLOBAL_DATA_ERROR |
|
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 |