CL2.GetTransmitErrorCounter (FUN)

This function of the CAA_CanL2.library returns the current value of the send error counter.

Input:

hDriver

CAA.HANDLE

handle of driver

peError

POINTER TO CL2.ERROR

pointer to error code (enumeration type)

Output:

ctTxErrorCounter

CAA.COUNT

value of send error counter