IPC@CHIP® RTOS-PPC – API Documentation
Set system time and date with resolution down to microseconds.
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.