Function libftd2xx_ffi::FT_SetChars

source ·
pub unsafe extern "C" fn FT_SetChars(
    ftHandle: FT_HANDLE,
    uEventChar: UCHAR,
    uEventCharEnabled: UCHAR,
    uErrorChar: UCHAR,
    uErrorCharEnabled: UCHAR
) -> FT_STATUS
Expand description

@noop FT_SetChars @par Supported Operating Systems Linux Mac OS X (10.4 and later) Windows (2000 and later) Windows CE (4.2 and later) @par Summary This function sets the special characters for the device. @param ftHandle Handle of the device. @param uEventChar Event character. @param uEventCharEnabled 0 if event character disabled, non-zero otherwise. @param uErrorChar Error character. @param uErrorCharEnabled 0 if error character disabled, non-zero otherwise. @returns FT_OK if successful, otherwise the return value is an FT error code. @remarks This function allows for inserting specified characters in the data stream to represent events firing or errors occurring.