Keeping data from a timer interrupt after a reset