CL2.UpdateTimeService* (FUN)

 

This function of the CAA_CanL2.library transmits the current time to the Time Service. It must be called after the PRE-TIME event in order to update the data used in the TIME protocol.

Input:

hDriver

CAA.HANDLE

handle of CAN interface

todTime

TIME_OF_DAY

time to be used

datDate

DATE

Output:

eError

CL2.ERROR

error code (enumeration type)