...
Files
clk.h/clk.c
Prototype
Code Block | ||
---|---|---|
| ||
CLK_TS_SEC Clk_GetTS (void); |
Arguments
None.
Returned Values
...
Clock timestamp returned as UTC+00. Thus any local time zone offset must be applied after calling Clk_GetTS()
.
Example Usage
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CLK_TS_SEC ts_sec;
ts_sec = Clk_GetTS();
printf("timestamp = %u", ts_sec); |