#include <sys/time.h>
#include "MK60D10.h"
int _gettimeofday(struct timeval *restrict tp, void *restrict tzp) {
tp->tv_sec = RTC->TSR;
tp->tv_usec = 0U;
return 0;
}