CL2.GetBusState* (FUN)

 

This function of the CAA_CanL2.library returns the current state of the bus.

Input:

hDriver

CAA.HANDLE

handle of driver

peError

POINTER TO CL2.ERROR

pointer to error code (enumeration type)

Output:

eState

CL2.BUSSTATE

current state of bus