Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

(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

  • No labels