Function pcan_basic_sys::CAN_GetErrorText [] [src]

pub unsafe extern "C" fn CAN_GetErrorText(
    Error: u32,
    Language: u16,
    Buffer: *mut c_char
) -> u32

Returns a descriptive text of a given TPCANStatus error code, in any desired language The current languages available for translation are: Neutral (0x00), German (0x07), English (0x09), Spanish (0x0A), Italian (0x10) and French (0x0C) "A TPCANStatus error code" "Indicates a 'Primary language ID'" "Buffer for a null terminated char array" "A TPCANStatus error code"