Electronic Components Datasheet Search |
|
CP2105 Datasheet(PDF) 8 Page - Silicon Laboratories |
|
CP2105 Datasheet(HTML) 8 Page - Silicon Laboratories |
8 / 36 page 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 |
Similar Part No. - CP2105 |
|
Similar Description - CP2105 |
|
|
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 |
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 |