Get current Clock timestamp.
clk.h/clk.c
CLK_TS_SEC Clk_GetTS (void); |
None.
Current timestamp (in seconds, UTC+00).
None.
Clock timestamp returned as UTC+00. Thus any local time zone offset must be applied after calling Clk_GetTS()
.
CLK_TS_SEC ts_sec; ts_sec = Clk_GetTS(); printf("timestamp = %u", ts_sec); |