• Ready for review
  • CANGetStatus iMX6

    (only iMX6)

    This function retrieves the current CAN Status and reports statistics. It also resets error conditions. It can be called when the named event „CanStatus“ (CAN1:) or „CanStatus2“ (CAN2:) was set.

    BOOL CANGetStatus(HANDLE hCAN, PCAN_STATUS pwCanStatus)

    Parameters

    HANDLE hCAN

    HANDLE handle of the CAN Driver got from CANOpenHandle(LPCWSTR lpDevName);

    PCAN_STATUS pwCanStatus

    pointer to CAN_STATUS struct

    Return Values

    If this function succeeds, the returns TRUE
    If the function fails, the return value is FALSE.

    Remarks

    Requirements

    OS Versions: Windows CE 6RE3 and later.
    canbus.h
    Link Library: cansdk.lib

    See Also

    CANOpenHandle