Replace timer0 typedef usage with struct