[][src]Function silabs_usb_xpress::set_timeouts

pub fn set_timeouts<R: Into<Option<Duration>>, W: Into<Option<Duration>>>(
    read: R,
    write: W
) -> Result<(), SilabsUsbXpressError>

Sets read and write block timeouts

Sets the read and write timeouts. Timeouts are used for SI_Read and SI_Write when called synchronously (OVERLAPPED* o is set to NULL). The default value for timeouts is 1000ms.

  • 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