CL2.UpdateTimeService* (FUN)

提示!

The interfaces of this component contains inputs and outputs which drive and diagnose optional functionalities. With “ CL2.GetProperty” you can check, whether a driver supports a certain functionality or not. If not, its input and output values are irrelevant.

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)