| Electronic Components Datasheet Search |
|
CP2114 Datasheet(PDF) 13 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
CP2114 Datasheet(HTML) 13 Page - Silicon Laboratories |
|
13 / 54 page ![]() AN433 Rev. 0.5 13 2.15. HidUart_FlushBuffers Description: This function flushes the receive buffer in the device and the HID driver and/or the transmit buffer in the device. Prototype: HID_UART_STATUS HidUart_FlushBuffers (HID_UART_DEVICE device, BOOL flushTransmit, BOOL flushReceive) Parameters:1. device—Device object pointer as returned by HidUart_Open(). 2. flushTransmit —Set to TRUE to flush the device transmit buffer. 3. flushReceive —Set to TRUE to flush the device receive buffer and HID receive buffer. Return Value: HID_UART_STATUS = HID_UART_SUCCESS HID_UART_INVALID_DEVICE_OBJECT HID_UART_DEVICE_IO_FAILED 2.16. HidUart_Cancello Description: This function cancels any pending HID reads and writes. (Windows only) Prototype: HID_UART_STATUS HidUart_CancelIo (HID_UART_DEVICE device) Parameters: device—Device object pointer as returned by HidUart_Open(). Return Value: HID_UART_STATUS = HID_UART_SUCCESS HID_UART_INVALID_DEVICE_OBJECT HID_UART_DEVICE_IO_FAILED 2.17. HidUart_SetTimeouts Description: Sets the read and write timeouts. Timeouts are used for HidUart_Read() and HidUart_Write(). The default value for timeouts is 1000 ms, but timeouts can be set to wait for any number of milliseconds between 0 and 0xFFFFFFFF. Prototype: HID_UART_STATUS HidUart_SetTimeouts (HID_UART_DEVICE device, DWORD readTimeout, DWORD writeTimeout) Parameters:1. device—Device object pointer as returned by HidUart_Open(). 2. readTimeout—HidUart_Read() operation timeout in milliseconds. 3. writeTimeout—HidUart_Write() operation timeout in milliseconds. Return Value: HID_UART_STATUS = HID_UART_SUCCESS HID_UART_INVALID_DEVICE_OBJECT Remarks: If read timeouts are set to a large value and no data is received, then the application may appear unresponsive. It is recommended to set timeouts appropriately before using the device. |
|
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 |