Hi,
I would like to use below code for a timer. Is diff_time.MILLISECONDS an int32_t variable like a saw for max_struct_ticks? If so, why wouldn't it be uint32_t ? Thanks
TIME_STRUCT start_time, end_time, diff_time; ... _time_get(&start_time);
/* Send 100 messages. */
_time_get(&end_time);
_time_diff(&start_time, &end_time, &diff_time);
printf(“Time to send 100 messages: %ld sec %ld millisec\n”, diff_time.SECONDS, diff_time.MILLISECONDS);
Sorry I did not get your question.
Can you please tell me the part number that you are using?
Thanks