Everything

get_tim

iget_tim

Outline
Reference system time.
C format
 ER      get_tim (SYSTIM *p_systim);
 ER      iget_tim (SYSTIM *p_systim);
Parameter(s)
I/O
Parameter
Description
O
 SYSTIM  *p_systim;
Current 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 store the RI850V4 system time (unit: millisecond) into the area specified by parameter p_systim.
Note 1 The RI850V4 ignores the numeric values that cannot be expressed as the system time (values overflowed from the 48-bit width).
Note 2 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.