Richard Klinda

keeping track of time (real world time)

Discussion created by Richard Klinda on Jan 14, 2008
Latest reply on Jan 17, 2008 by Richard Klinda
Hello, what is a sensible way to keep track of time on ColdFire?

I would like to have the following things available:
- number of seconds since January 1, 1970 (UNIX time);
- number of ticks since boot.

I configured a PIT timer that triggers every milisecond and I increase a milisec counter variable, but I suspect there are better ways to do it.