IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

RTX_EC RTX_Set_TimeDate_us ( const TimeDateFineS td  ) 

Set system time and date with resolution down to microseconds.

The Day Of Week field (dow) in the TimeDateFineS need not be set by caller. This API computes this value based on the provided date.

Note: This API performs no validity check on the date/time data supplied by user.

This API may be called from a task or from inside any form of interrupt handler. This function is reentrant. Any concurrent use of RTX_Get_TimeDate_us() will return either the time/date value from before or after this call.

The timing mark occurs on entry to this API. Your supplied time and date are assigned to this time mark. The delay between your program's call to this API and the time mark reading will typically be a bit more than one microsecond. To state this timing bias value more accurately is difficult due to the state of the CPU's instruction cache being unknown.

Note: In BPM_SLEEP power save mode the time and date resolution is reduced to one millisecond.

td System time and date info with microsecond resolution.
Constant zero (a provisional error code).
See also:
RTX_Get_TimeDate_us()      RTX_Set_TimeDate()
SC2x3 V1.05 - CLIB V1.03

Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:37 2017 by Doxygen 1.6.1