Everything

set_tim

iset_tim

Outline
Set system time.
C format
 ER      set_tim (SYSTIM *p_systim);
 ER      iset_tim (SYSTIM *p_systim);
Parameter(s)
I/O
Parameter
Description
I
 SYSTIM  *p_systim;
Time to set as system time.

[System time packet: SYSTIM]
 typedef struct  t_systim {
     UW      ltime;          /*System time (lower 32 bits)*/
     UH      utime;          /*System time (higher 16 bits)*/
 } SYSTIM;

Explanation
These service calls change the RI850V4 system time (unit: millisecond) to the time specified by parameter p_systim.
Note For details about the system time packet, refer to "15.2.11 System time packet".
Return value
Macro
Value
Description
E_OK
0
Normal completion.
E_CTX
-25
Context error.
- This service call was issued in the CPU locked state.