The timer example uses the RTI interrupt to update the time of the day and display the current time on the serial line.
timer
Source file: timer.c